diff options
author | jgraettinger <jgraettinger@chromium.org> | 2014-09-24 16:00:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-24 23:00:33 +0000 |
commit | 8f00db8b5156e1bc256828d38ead66d91379411a (patch) | |
tree | 029edf9c73fa84a916e9e5a64fa71223770a41a7 /components | |
parent | 10f088f2d2fccc421ce5524113a7203f4923874c (diff) | |
download | chromium_src-8f00db8b5156e1bc256828d38ead66d91379411a.zip chromium_src-8f00db8b5156e1bc256828d38ead66d91379411a.tar.gz chromium_src-8f00db8b5156e1bc256828d38ead66d91379411a.tar.bz2 |
Add space to Accept-Encoding header values.
This is to intended to match the HTTP/2 static table:
http://http2.github.io/http2-spec/compression.html#static.table.definition (entry 16).
BUG=389914
Review URL: https://codereview.chromium.org/437353004
Cr-Commit-Position: refs/heads/master@{#296551}
Diffstat (limited to 'components')
-rw-r--r-- | components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc index d54aa86..ac5dab5 100644 --- a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc @@ -136,7 +136,7 @@ class DataReductionProxyProtocolTest : public testing::Test { "Host: www.google.com\r\n" "Proxy-Connection: keep-alive\r\n%s" "User-Agent:\r\n" - "Accept-Encoding: gzip,deflate\r\n\r\n", + "Accept-Encoding: gzip, deflate\r\n\r\n", method, trailer.c_str()); MockWrite data_writes[] = { MockWrite(request1.c_str()), @@ -156,7 +156,7 @@ class DataReductionProxyProtocolTest : public testing::Test { "Host: www.google.com\r\n" "Connection: keep-alive\r\n%s" "User-Agent:\r\n" - "Accept-Encoding: gzip,deflate\r\n\r\n", + "Accept-Encoding: gzip, deflate\r\n\r\n", method, trailer.c_str()); MockWrite data_writes2[] = { MockWrite(request2.c_str()), @@ -737,7 +737,7 @@ TEST_F(DataReductionProxyProtocolTest, "Host: www.google.com\r\n" "Connection: keep-alive\r\n" "User-Agent:\r\n" - "Accept-Encoding: gzip,deflate\r\n\r\n"), + "Accept-Encoding: gzip, deflate\r\n\r\n"), }; StaticSocketDataProvider data1(data_reads, arraysize(data_reads), data_writes, arraysize(data_writes)); |