LayoutTests:
Reviewed by Anders.
- fixed "REGRESSION: Can't order from Pizza Hut (ToT, 05/24/06)"
http://bugzilla.opendarwin.org/show_bug.cgi?id=9103
* http/tests/misc/redirect-expected.txt: Added.
* http/tests/misc/redirect.php: Added.
* http/tests/misc/resources/redirect-result.php: Added.
WebKit:
Reviewed by Anders.
- fixed "REGRESSION: Can't order from Pizza Hut (ToT, 05/24/06)"
http://bugzilla.opendarwin.org/show_bug.cgi?id=9103
* WebView/WebDataSource.m:
(-[WebDataSource _willSendRequest:forResource:redirectResponse:]): Set up the
User-Agent header.
* WebView/WebDataSourceInternal.h:
* WebView/WebLoader.m:
(-[NSURLProtocol willSendRequest:redirectResponse:]): Pass a mutable URL request
so the above can work.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14667
268f45cc-cd09-0410-ab3c-
d52691b4dbfc