[webkit-gtk] local files don't work

Josip josip at pisoj.com
Tue Oct 27 16:12:27 PDT 2009

Hi all,
can somebody please explain how webkit handles local files (those 
accessed with "file://").

This works for me in linux but silently fail in windows and i am unable 
to load any local files.
If in WebCore/platform/network/soup/ResourceHandleSoup.cpp
in function queryInfoCallback() comment out line:
client->didReceiveResponse(handle.get(), response);
local html files can be loaded and rendered but charset encoding are 
wrong (always ascii) and loading any image result with display of text 
instead of picture.
It looks like any local files is rendering just as ascii text.
So i would like to know what didReceiveResponse() actualy do and why 
that not works in windows.


More information about the webkit-gtk mailing list