diff options
Diffstat (limited to 'net/spdy/spdy_http_stream.cc')
-rw-r--r-- | net/spdy/spdy_http_stream.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc index 0e3962e..6fede6c 100644 --- a/net/spdy/spdy_http_stream.cc +++ b/net/spdy/spdy_http_stream.cc @@ -148,8 +148,12 @@ int SpdyHttpStream::SendRequest(const std::string& /*headers_string*/, stream_->SetDelegate(this); + HttpRequestHeaders request_headers; + HttpUtil::BuildRequestHeaders(request_info_, request_body, NULL, false, false, + !direct_, &request_headers); linked_ptr<spdy::SpdyHeaderBlock> headers(new spdy::SpdyHeaderBlock); - CreateSpdyHeadersFromHttpRequest(*request_info_, headers.get(), direct_); + CreateSpdyHeadersFromHttpRequest(*request_info_, request_headers, + headers.get(), direct_); stream_->set_spdy_headers(headers); stream_->SetRequestTime(request_time); |