[webkit-dev] How to handle error response on the browser when the HTTP request fails

Nitin Walke nitwalke at gmail.com
Thu Feb 12 07:34:57 PST 2009


Thanks for your suggestion. I added delegate method in
FrameloaderClient::dispatchDidFailLoading for GTK, however,
noticed that the control flow never reached there - either in case of
successful response or for http error like server not found etc.
Then I added some debug code in FrameloaderClient::dispatchDidFailLoading
for GTK; and found that the control flow does not reach there.

Am I missing something here? Your inputs will be appreciated.


On Thu, Feb 12, 2009 at 11:55 AM, zaheer ahmad <zaheer.mot at gmail.com> wrote:

> If you are using curl backend, network errors are already reported back but
> ignored. you need to implement FrameloaderClient::dispatchDidFailLoading
> delegate to pass it back to the application.
> regards,
> Zaheer
> On Wed, Feb 11, 2009 at 7:03 PM, Nitin Walke <nitwalke at gmail.com> wrote:
>> Hi,
>> I am new to Webkit and have developed a basic browser using Webkit GTK
>> port on linux.
>> I want to show error response on the browser when the HTTP request fails
>> for some reason like
>> bad gateway or Server error etc. Currently the browser does not show any
>> response in case of any error.
>> Please advise how to go about implementing the same.
>> Thanks
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090212/7cdc5c6a/attachment.html>

More information about the webkit-dev mailing list