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