Make CreateSpdyHeadersFromHttpRequest do the right thing for CONNECT requests
commit58bf360f7f659d7f63576a8c2dc10034f931f9c7
authorrch <rch@chromium.org>
Thu, 9 Apr 2015 21:56:32 +0000 (9 14:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Apr 2015 21:57:03 +0000 (9 21:57 +0000)
treec2b5d415aac6359b113c28166b317aa13c0ff17d
parent810344118d426b501ed9f1a943e2b444ad365827
Make CreateSpdyHeadersFromHttpRequest do the right thing for CONNECT requests
instead of SpdyProxyClientSocket amending the output.

Add unit tests.

R=bnc@chromium.org

Review URL: https://codereview.chromium.org/1074933002

Cr-Commit-Position: refs/heads/master@{#324516}
net/spdy/spdy_http_utils.cc
net/spdy/spdy_http_utils_unittest.cc
net/spdy/spdy_proxy_client_socket.cc