| Index: net/url_request/url_request_job.cc
|
| diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
|
| index 669c845de98ca142f111d00369c0d00075b0d65b..bf4aafcb8c6f9da958aa7fa57e5c69d0e9008328 100644
|
| --- a/net/url_request/url_request_job.cc
|
| +++ b/net/url_request/url_request_job.cc
|
| @@ -319,6 +319,10 @@ void URLRequestJob::NotifyHeadersComplete() {
|
| new_location = new_location.ReplaceComponents(replacements);
|
| }
|
|
|
| + // Redirect response bodies are not read. Notify the transaction
|
| + // so it does not treat being stopped as an error.
|
| + DoneReading();
|
| +
|
| bool defer_redirect = false;
|
| request_->NotifyReceivedRedirect(new_location, &defer_redirect);
|
|
|
|
|