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

Unified Diff: net/spdy/spdy_proxy_client_socket_spdy3_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_proxy_client_socket.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc
diff --git a/net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc b/net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc
index b0107e7f4f500bb6c17821574a575a3f47e54c48..58665f72d306b56c8a6021ec6b78cd94112adb19 100644
--- a/net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc
+++ b/net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc
@@ -370,8 +370,8 @@ SpdyProxyClientSocketSpdy3Test::ConstructConnectAuthRequestFrame() {
// Constructs a standard SPDY SYN_REPLY frame to match the SPDY CONNECT.
SpdyFrame* SpdyProxyClientSocketSpdy3Test::ConstructConnectReplyFrame() {
const char* const kStandardReplyHeaders[] = {
- "status", "200 Connection Established",
- "version", "HTTP/1.1"
+ ":status", "200 Connection Established",
+ ":version", "HTTP/1.1"
};
return ConstructSpdyControlFrame(NULL,
0,
@@ -388,8 +388,8 @@ SpdyFrame* SpdyProxyClientSocketSpdy3Test::ConstructConnectReplyFrame() {
SpdyFrame*
SpdyProxyClientSocketSpdy3Test::ConstructConnectAuthReplyFrame() {
const char* const kStandardReplyHeaders[] = {
- "status", "407 Proxy Authentication Required",
- "version", "HTTP/1.1",
+ ":status", "407 Proxy Authentication Required",
+ ":version", "HTTP/1.1",
"proxy-authenticate", "Basic realm=\"MyRealm1\"",
};
@@ -408,8 +408,8 @@ SpdyProxyClientSocketSpdy3Test::ConstructConnectAuthReplyFrame() {
SpdyFrame*
SpdyProxyClientSocketSpdy3Test::ConstructConnectErrorReplyFrame() {
const char* const kStandardReplyHeaders[] = {
- "status", "500 Internal Server Error",
- "version", "HTTP/1.1",
+ ":status", "500 Internal Server Error",
+ ":version", "HTTP/1.1",
};
return ConstructSpdyControlFrame(NULL,
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698