Lines Matching refs:response
12 HttpServerResponseInfo response;
13 ASSERT_EQ(HTTP_OK, response.status_code());
14 ASSERT_EQ("HTTP/1.1 200 OK\r\n\r\n", response.Serialize());
18 HttpServerResponseInfo response;
19 response.AddHeader("A", "1");
20 response.AddHeader("A", "2");
21 ASSERT_EQ("HTTP/1.1 200 OK\r\nA:1\r\nA:2\r\n\r\n", response.Serialize());
25 HttpServerResponseInfo response;
26 ASSERT_EQ(std::string(), response.body());
27 response.SetBody("body", "type");
28 ASSERT_EQ("body", response.body());
31 response.Serialize());
35 HttpServerResponseInfo response = HttpServerResponseInfo::CreateFor404();
39 response.Serialize());
43 HttpServerResponseInfo response =
48 response.Serialize());