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

Unified Diff: net/quic/test_tools/quic_test_packet_maker.cc

Issue 1281463002: Preparation for changing SpdyHeaderBlock to be ordered. This just (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Close_QUIC_connections_99369742
Patch Set: Created 5 years, 4 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 | « no previous file | net/tools/quic/spdy_balsa_utils_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_test_packet_maker.cc
diff --git a/net/quic/test_tools/quic_test_packet_maker.cc b/net/quic/test_tools/quic_test_packet_maker.cc
index 55866f45ef64e077a09d502a358e6990b7837ce4..70975c7e6e6f02a443a1bc27e50e280e03e13fb5 100644
--- a/net/quic/test_tools/quic_test_packet_maker.cc
+++ b/net/quic/test_tools/quic_test_packet_maker.cc
@@ -230,7 +230,6 @@ SpdyHeaderBlock QuicTestPacketMaker::GetRequestHeaders(
const std::string& scheme,
const std::string& path) {
SpdyHeaderBlock headers;
- headers[":method"] = method;
if (version_ <= QUIC_VERSION_24) {
headers[":host"] = host_;
} else {
@@ -238,6 +237,7 @@ SpdyHeaderBlock QuicTestPacketMaker::GetRequestHeaders(
}
headers[":path"] = path;
headers[":scheme"] = scheme;
+ headers[":method"] = method;
if (version_ <= QUIC_VERSION_24) {
headers[":version"] = "HTTP/1.1";
}
« no previous file with comments | « no previous file | net/tools/quic/spdy_balsa_utils_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698