| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| index d573dd3b031b5ade0232bb537f9e17b629a58349..44a95958e094d2d95d7472c15455da3b5796137e 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
| @@ -1013,7 +1013,8 @@ TEST_F(DataReductionProxyNetworkDelegateTest,
|
| "Content-Length: 140\r\n"
|
| "Via: 1.1 Chrome-Compression-Proxy\r\n"
|
| "x-original-content-length: 200\r\n"
|
| - "Cache-Control: max-age=1200\r\n";
|
| + "Cache-Control: max-age=1200\r\n"
|
| + "Vary: accept-encoding\r\n";
|
| response_headers += "\r\n";
|
|
|
| // Use secure sockets when fetching the request since Brotli is only enabled
|
| @@ -1031,7 +1032,8 @@ TEST_F(DataReductionProxyNetworkDelegateTest,
|
| "Content-Length: 140\r\n"
|
| "Via: 1.1 Chrome-Compression-Proxy\r\n"
|
| "x-original-content-length: 200\r\n"
|
| - "Cache-Control: max-age=1200\r\n";
|
| + "Cache-Control: max-age=1200\r\n"
|
| + "Vary: accept-encoding\r\n";
|
| response_headers += "\r\n";
|
|
|
| // Use secure sockets when fetching the request since Brotli is only enabled
|
| @@ -1061,7 +1063,8 @@ TEST_F(DataReductionProxyNetworkDelegateTest,
|
| "Content-Length: 140\r\n"
|
| "Via: 1.1 Chrome-Compression-Proxy\r\n"
|
| "x-original-content-length: 200\r\n"
|
| - "Cache-Control: max-age=1200\r\n";
|
| + "Cache-Control: max-age=1200\r\n"
|
| + "Vary: accept-encoding\r\n";
|
| response_headers += "\r\n";
|
|
|
| FetchURLRequestAndVerifyBrotli(nullptr, response_headers, false, false);
|
| @@ -1078,7 +1081,8 @@ TEST_F(DataReductionProxyNetworkDelegateTest, BrotliAdvertisement) {
|
| "Content-Length: 140\r\n"
|
| "Via: 1.1 Chrome-Compression-Proxy\r\n"
|
| "x-original-content-length: 200\r\n"
|
| - "Cache-Control: max-age=1200\r\n";
|
| + "Cache-Control: max-age=1200\r\n"
|
| + "Vary: accept-encoding\r\n";
|
| response_headers += "\r\n";
|
|
|
| FetchURLRequestAndVerifyBrotli(nullptr, response_headers, false, true);
|
|
|