diff options
Diffstat (limited to 'net/spdy/spdy_http_utils.cc')
| -rw-r--r-- | net/spdy/spdy_http_utils.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/spdy/spdy_http_utils.cc b/net/spdy/spdy_http_utils.cc index bf7376a..a3b7e54 100644 --- a/net/spdy/spdy_http_utils.cc +++ b/net/spdy/spdy_http_utils.cc @@ -83,8 +83,10 @@ void CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info, HttpRequestHeaders::Iterator it(request_headers); while (it.GetNext()) { std::string name = StringToLowerASCII(it.name()); - if (name == "connection" || name == "proxy-connection") + if (name == "connection" || name == "proxy-connection" || + name == "transfer-encoding") { continue; + } if (headers->find(name) == headers->end()) { (*headers)[name] = it.value(); } else { |
