On Wed, 2004-12-08 at 11:55 +0200, Max Ischenko wrote:
> I'm pondering about the possibility to tweak WebKit to use HTTP status
> codes to report errors. Currently, it returns error pages, just like
> normal ones, with 200 OK.

> IMO this is not a great idea. For one, this hinders work of log
> analyzers (Apache), as you have to dig through WebKit logs to find out
> how many errors actually were in requests, handled by WebKit itself.
> Secondly, it complicates automatic testing as I have to parse html
> content returned to check if there were an error instead of simply
> checking for status codes.

> Therefore I'd prefer to have the html error page served with, say, "501
> WebKit application error" or something like that.

This is in CVS, in HTTPExceptions.py, Application.py and HTTPResponse.py.
(search for HTTPException).

peace,
Jason



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to