summaryrefslogtreecommitdiffstats
path: root/net/http/http_response_headers_unittest.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 00:26:43 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 00:26:43 +0000
commit542cc177b9a20f9d7dc66c3c030bbaa54637642e (patch)
tree3fd0dc9d1671eddd31791f4a99702e43a76c61b3 /net/http/http_response_headers_unittest.cc
parent81a98cdd9ce1bb7d8e893d194e09abfd68024858 (diff)
downloadchromium_src-542cc177b9a20f9d7dc66c3c030bbaa54637642e.zip
chromium_src-542cc177b9a20f9d7dc66c3c030bbaa54637642e.tar.gz
chromium_src-542cc177b9a20f9d7dc66c3c030bbaa54637642e.tar.bz2
Revert 85821 - Http cache: Make sure that we don't use http 1.1 features
for http 1.0 resources. BUG=74061 TEST=netunittests Review URL: http://codereview.chromium.org/6995010 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/7034044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_headers_unittest.cc')
-rw-r--r--net/http/http_response_headers_unittest.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc
index c2d34b4..7c1f134 100644
--- a/net/http/http_response_headers_unittest.cc
+++ b/net/http/http_response_headers_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -1434,13 +1434,7 @@ TEST(HttpResponseHeadersTest, HasStrongValidators) {
{ "HTTP/0.9 200 OK",
false
},
- { "HTTP/1.0 200 OK\n"
- "Date: Wed, 28 Nov 2007 01:40:10 GMT\n"
- "Last-Modified: Wed, 28 Nov 2007 00:40:10 GMT\n"
- "ETag: \"foo\"\n",
- false
- },
- { "HTTP/1.1 200 OK\n"
+ { "HTTP/0.9 200 OK\n"
"Date: Wed, 28 Nov 2007 01:40:10 GMT\n"
"Last-Modified: Wed, 28 Nov 2007 00:40:10 GMT\n"
"ETag: \"foo\"\n",