Bug 28949 - [Qt] Page content is not displayed in case of HTTP status error
Summary: [Qt] Page content is not displayed in case of HTTP status error
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 08:01 PDT by Yael
Modified: 2009-09-03 12:36 PDT (History)
0 users

See Also:


Attachments
Patch (3.32 KB, patch)
2009-09-03 08:20 PDT, Yael
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yael 2009-09-03 08:01:38 PDT
In case of HTTP status error, the web server might still send useful information about the error.
If a server sent content, the content should be displayed to the user. Besides, other browsers display that content.
Comment 1 Yael 2009-09-03 08:20:32 PDT
Created attachment 38991 [details]
Patch

If the server sends content with the HTTP status code, display the content instead of throwing an error.
Comment 2 Simon Hausmann 2009-09-03 11:46:45 PDT
Comment on attachment 38991 [details]
Patch

r=me. I would suggest re-positioning the comments though when landing, by keeping the original comment and moving
the new comment you added next to the !m_responseDataSent at the end of that line.
Comment 3 Yael 2009-09-03 12:36:19 PDT
Landed in 48028