Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1270)

Unified Diff: net/spdy/spdy_stream_spdy2_unittest.cc

Issue 9958023: Properly handle spdy3 responses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/spdy/spdy_stream_spdy3_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream_spdy2_unittest.cc
diff --git a/net/spdy/spdy_stream_spdy2_unittest.cc b/net/spdy/spdy_stream_spdy2_unittest.cc
index f4a71a29d03eae3f1ca77ec9d97a9d8f8f243d07..1ca2923f6d6ec781350e4619aa692a89c1c506ad 100644
--- a/net/spdy/spdy_stream_spdy2_unittest.cc
+++ b/net/spdy/spdy_stream_spdy2_unittest.cc
@@ -151,7 +151,7 @@ TEST_F(SpdyStreamSpdy2Test, SendDataAfterOpen) {
"http",
"host",
"www.google.com",
- "path",
+ "url",
"/",
"version",
"HTTP/1.1",
@@ -223,7 +223,7 @@ TEST_F(SpdyStreamSpdy2Test, SendDataAfterOpen) {
(*headers)["method"] = "GET";
(*headers)["scheme"] = url.scheme();
(*headers)["host"] = url.host();
- (*headers)["path"] = url.path();
+ (*headers)["url"] = url.path();
(*headers)["version"] = "HTTP/1.1";
stream->set_spdy_headers(headers);
EXPECT_TRUE(stream->HasUrl());
@@ -322,7 +322,7 @@ TEST_F(SpdyStreamSpdy2Test, StreamError) {
"http",
"host",
"www.google.com",
- "path",
+ "url",
"/",
"version",
"HTTP/1.1",
@@ -396,7 +396,7 @@ TEST_F(SpdyStreamSpdy2Test, StreamError) {
(*headers)["method"] = "GET";
(*headers)["scheme"] = url.scheme();
(*headers)["host"] = url.host();
- (*headers)["path"] = url.path();
+ (*headers)["url"] = url.path();
(*headers)["version"] = "HTTP/1.1";
stream->set_spdy_headers(headers);
EXPECT_TRUE(stream->HasUrl());
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/spdy/spdy_stream_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698