Changeset 45707 in webkit
- Timestamp:
- Jul 10, 2009 6:25:41 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r45704 r45707 1 2009-07-04 Sriram Yadavalli <sriram.yadavalli@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 https://bugs.webkit.org/show_bug.cgi?id=26439 6 7 QtWebKit fails in loading www.nytimes.com in Windows/Linux 8 9 QNetworkReplyHandler is ignoring content associated with 401 error. 10 This causes the XHR response handling to fail. 11 12 Simon: Added also ProxyAuthenticationRequiredError, to handle the same 13 case when going through proxies, as suggested by Prasanth. 14 15 * platform/network/qt/QNetworkReplyHandler.cpp: 16 (WebCore::QNetworkReplyHandler::finish): 17 1 18 2009-07-10 Simon Hausmann <simon.hausmann@nokia.com> 2 19 -
trunk/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
r44934 r45707 226 226 start(); 227 227 } else if (m_reply->error() != QNetworkReply::NoError 228 // a web page that returns 40 3/404 can still have content228 // a web page that returns 401/403/404 can still have content 229 229 && m_reply->error() != QNetworkReply::ContentOperationNotPermittedError 230 && m_reply->error() != QNetworkReply::ContentNotFoundError) { 230 && m_reply->error() != QNetworkReply::ContentNotFoundError 231 && m_reply->error() != QNetworkReply::AuthenticationRequiredError 232 && m_reply->error() != QNetworkReply::ProxyAuthenticationRequiredError) { 231 233 QUrl url = m_reply->url(); 232 234 ResourceError error(url.host(), m_reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(),
Note: See TracChangeset
for help on using the changeset viewer.