| Index: net/http/http_network_transaction_unittest.cc
|
| diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
|
| index 01756a196547574976bdbc50bf10eb4a0318a3dd..3b15926e75f80073e5fd185847cf6dca8ba1e07f 100644
|
| --- a/net/http/http_network_transaction_unittest.cc
|
| +++ b/net/http/http_network_transaction_unittest.cc
|
| @@ -6388,23 +6388,12 @@ TEST_P(HttpNetworkTransactionTest, BasicAuthSpdyProxy) {
|
|
|
| // The proxy responds to the connect with a 407, using a persistent
|
| // connection.
|
| + const char* const kAuthStatus = "407";
|
| const char* const kAuthChallenge[] = {
|
| - spdy_util_.GetStatusKey(), "407 Proxy Authentication Required",
|
| - spdy_util_.GetVersionKey(), "HTTP/1.1",
|
| "proxy-authenticate", "Basic realm=\"MyRealm1\"",
|
| };
|
| -
|
| - scoped_ptr<SpdyFrame> conn_auth_resp(
|
| - spdy_util_.ConstructSpdyControlFrame(NULL,
|
| - 0,
|
| - false,
|
| - 1,
|
| - LOWEST,
|
| - SYN_REPLY,
|
| - CONTROL_FLAG_NONE,
|
| - kAuthChallenge,
|
| - arraysize(kAuthChallenge),
|
| - 0));
|
| + scoped_ptr<SpdyFrame> conn_auth_resp(spdy_util_.ConstructSpdySynReplyError(
|
| + kAuthStatus, kAuthChallenge, arraysize(kAuthChallenge) / 2, 1));
|
|
|
| scoped_ptr<SpdyFrame> conn_resp(
|
| spdy_util_.ConstructSpdyGetSynReply(NULL, 0, 3));
|
|
|