| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index e8dc53eb7a67c136c5bb15b3ac1ea70dae50679d..29e686b226f45771f84e7829af71fdf737968570 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -610,6 +610,9 @@ ResourceDispatcherHostImpl::MaybeInterceptAsStream(net::URLRequest* request,
|
| ResourceResponse* response) {
|
| ResourceRequestInfoImpl* info = ResourceRequestInfoImpl::ForRequest(request);
|
| const std::string& mime_type = response->head.mime_type;
|
| + std::string response_headers;
|
| + if (response->head.headers)
|
| + response->head.headers->GetNormalizedHeaders(&response_headers);
|
|
|
| GURL origin;
|
| std::string target_id;
|
| @@ -636,7 +639,8 @@ ResourceDispatcherHostImpl::MaybeInterceptAsStream(net::URLRequest* request,
|
| info->GetChildID(),
|
| info->GetRouteID(),
|
| target_id,
|
| - handler->stream()->CreateHandle(request->url(), mime_type),
|
| + handler->stream()->CreateHandle(request->url(), mime_type,
|
| + response_headers),
|
| request->GetExpectedContentSize());
|
| return handler.PassAs<ResourceHandler>();
|
| }
|
|
|