Commit d101a955 authored by darin's avatar darin

Reviewed by Maciej.

        - fixed regression where redirects did not have user-agent any more

        Showed up as a failure in one of the http tests, so no new test needed.

        * loader/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::willSendRequest):
        Don't use a copy of the ResourceRequest; pass the original so it can be modified.



git-svn-id: svn://svn.chromium.org/blink/trunk@18721 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 468499f0
2007-01-09 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fixed regression where redirects did not have user-agent any more
Showed up as a failure in one of the http tests, so no new test needed.
* loader/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::willSendRequest):
Don't use a copy of the ResourceRequest; pass the original so it can be modified.
2007-01-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin.
......
......@@ -160,10 +160,8 @@ void ResourceLoader::willSendRequest(ResourceRequest& request, const ResourceRes
if (!m_identifier)
m_identifier = frameLoader()->identifierForInitialRequest(request);
ResourceRequest updatedRequest(request);
frameLoader()->willSendRequest(this, updatedRequest, redirectResponse);
m_request = updatedRequest;
frameLoader()->willSendRequest(this, request, redirectResponse);
m_request = request;
}
void ResourceLoader::didReceiveAuthenticationChallenge(NSURLAuthenticationChallenge *challenge)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment