[webkit-dev] How to cancel a resource request

Jaroslav Gresula jgresula.LEAVE-THIS-OUT at gmail.com
Thu Oct 22 01:18:41 PDT 2009


Hi,

In my WebKit port (based on the GTK port) I would like to cancel a
resource request depending on the resource length or its MIME type.

I thought, dispatchDidReceiveResponse(DocumentLoader*, ...) in my
WebCore::FrameLoaderClient implementation could be a good place for such
action as I can retrieve the length and the MIME type from the
ResourceResponse argument there. However I did not find the way how to
cancel the request.

Any help would be appreciated.

Thanks,
-- 
Jarda
http://jagpdf.org



More information about the webkit-dev mailing list