[BlackBerry] WWW-Authenticate header on 200 response pops up authentication dialog
https://bugs.webkit.org/show_bug.cgi?id=85643
Patch by Liam Quinn <lquinn@rim.com> on 2012-05-07
Reviewed by George Staikos.
.:
RIM PR: 151992
Added manual test for WWW-Authenticate header on a 200 response.
* ManualTests/blackberry/http-auth-on-200.php: Added.
Source/WebCore:
RIM PR: 151992
Ignore WWW-Authenticate header if the response code is not 401.
Ignore Proxy-Authenticate header if the response code is not 407.
Manual test added to observe whether the authentication dialog appears on a 200 response with WWW-Authenticate.
* platform/network/blackberry/NetworkJob.cpp:
(WebCore::NetworkJob::handleNotifyHeaderReceived):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@116308
268f45cc-cd09-0410-ab3c-
d52691b4dbfc