Index: net/spdy/spdy_http_utils.cc |
diff --git a/net/spdy/spdy_http_utils.cc b/net/spdy/spdy_http_utils.cc |
index bf7376aaabbfa6a785be05b870221db6eae86e96..a3b7e54a96e433b817ed59bfeb7d2b1c582ed052 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 { |