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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 2555563003: Ignore 1xx informational headers. (Closed)
Patch Set: Created 4 years 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
« net/spdy/spdy_stream.cc ('K') | « net/spdy/spdy_stream_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_util_common.cc
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc
index 15d617366834dd432f88f25ae7823a4547fb816d..3f1a87327d6cb0f8128437a61413822740182b84 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -1001,12 +1001,12 @@ SpdySerializedFrame SpdyTestUtil::ConstructSpdyGetReplyRedirect(int stream_id) {
static const char* const kExtraHeaders[] = {
"location", "http://www.foo.com/index.php",
};
- return ConstructSpdyReplyError("301 Moved Permanently", kExtraHeaders,
+ return ConstructSpdyReplyError("301", kExtraHeaders,
arraysize(kExtraHeaders) / 2, stream_id);
}
SpdySerializedFrame SpdyTestUtil::ConstructSpdyReplyError(int stream_id) {
- return ConstructSpdyReplyError("500 Internal Server Error", NULL, 0, 1);
+ return ConstructSpdyReplyError("500", NULL, 0, 1);
}
SpdySerializedFrame SpdyTestUtil::ConstructSpdyGetReply(
« net/spdy/spdy_stream.cc ('K') | « net/spdy/spdy_stream_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698