Index: net/test/embedded_test_server/http_response_unittest.cc |
diff --git a/net/test/embedded_test_server/http_response_unittest.cc b/net/test/embedded_test_server/http_response_unittest.cc |
index 82f5112cec13f94942893cb2cd3c7cceddd3f753..83b767f5fa8416ab3c02e0b473f5bd5f477b018e 100644 |
--- a/net/test/embedded_test_server/http_response_unittest.cc |
+++ b/net/test/embedded_test_server/http_response_unittest.cc |
@@ -11,14 +11,14 @@ namespace test_server { |
TEST(HttpResponseTest, GenerateResponse) { |
BasicHttpResponse response; |
- response.set_code(SUCCESS); |
+ response.set_code(HTTP_OK); |
response.set_content("Sample content - Hello world!"); |
response.set_content_type("text/plain"); |
response.AddCustomHeader("Simple-Header", "Simple value."); |
std::string kExpectedResponseString = |
"HTTP/1.1 200 OK\r\n" |
- "Connection: closed\r\n" |
+ "Connection: close\r\n" |
"Content-Length: 29\r\n" |
"Content-Type: text/plain\r\n" |
"Simple-Header: Simple value.\r\n\r\n" |