| Index: net/http/http_util_unittest.cc
|
| diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc
|
| index bdae329242f79cf026f7eebc96b01eca7beaba46..0c018a2943fe70e2034e0ab8bb276ccd12292f14 100644
|
| --- a/net/http/http_util_unittest.cc
|
| +++ b/net/http/http_util_unittest.cc
|
| @@ -36,21 +36,21 @@ TEST(HttpUtilTest, HasHeader) {
|
|
|
| TEST(HttpUtilTest, StripHeaders) {
|
| static const char* headers =
|
| - "Origin: origin\r\n"
|
| - "Content-Type: text/plain\r\n"
|
| - "Cookies: foo1\r\n"
|
| - "Custom: baz\r\n"
|
| - "COOKIES: foo2\r\n"
|
| - "Server: Apache\r\n"
|
| - "OrIGin: origin2\r\n";
|
| + "Origin: origin\r\n"
|
| + "Content-Type: text/plain\r\n"
|
| + "Cookies: foo1\r\n"
|
| + "Custom: baz\r\n"
|
| + "COOKIES: foo2\r\n"
|
| + "Server: Apache\r\n"
|
| + "OrIGin: origin2\r\n";
|
|
|
| static const char* header_names[] = {
|
| "origin", "content-type", "cookies"
|
| };
|
|
|
| static const char* expected_stripped_headers =
|
| - "Custom: baz\r\n"
|
| - "Server: Apache\r\n";
|
| + "Custom: baz\r\n"
|
| + "Server: Apache\r\n";
|
|
|
| EXPECT_EQ(expected_stripped_headers,
|
| HttpUtil::StripHeaders(headers, header_names,
|
|
|