[webkit-gtk] HTTP Request

Iranian Secure iranian.secure at gmail.com
Wed Dec 14 01:23:43 PST 2011


The data uri schema solved my problem a lot but the problem now is
that it does not have path,
for example when a css file is loaded from /files/style.css the images
in it which are image1.png should be loaded from /files/image1.png but
because the css file is loaded from data scheme, it does not know the
path and it tries to load it from /image1.png and it gives
unpredictable results, is there any way to solve this?

On 12/13/11, Sergio Villar Senin <svillar at igalia.com> wrote:
> En 12/12/11 19:37, Emmanuel Rodriguez escribiu:
>> On Mon, Dec 12, 2011 at 19:01, Iranian Secure <iranian.secure at gmail.com>
>> wrote:
>>> Data URI scheme as described here:
>>> http://en.wikipedia.org/wiki/Data_URI_scheme was what I was looking for
>>> Thanks a lot
>> Great!
>>
>> I wasn't sure if WebKit supported the Data URI schema. The wikipedia
>> page that you referenced says that it does. So it think that you
>> should be able to do what you need with customs data URI.
>
> Of course is and has been supported. Check
> Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp if you want
> more details.
>
> BR
>
>
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
>


More information about the webkit-gtk mailing list