Lines Matching refs:headers
64 ASSERT_EQ("HTTP/1.1", hello->headers()->response_version());
65 ASSERT_EQ("200", hello->headers()->response_code());
66 ASSERT_EQ("OK", hello->headers()->response_reason_phrase());
68 std::distance(hello->headers()->header_lines_begin(),
69 hello->headers()->header_lines_end()));
70 ASSERT_TRUE(hello->headers()->HasHeader("key1"));
71 ASSERT_TRUE(hello->headers()->HasHeader("key2"));
72 ASSERT_TRUE(hello->headers()->HasHeader("transfer-encoding"));
73 ASSERT_TRUE(hello->headers()->HasHeader("connection"));
74 ASSERT_EQ("value1", hello->headers()->GetHeaderPosition("key1")->second);
75 ASSERT_EQ("value2", hello->headers()->GetHeaderPosition("key2")->second);
77 hello->headers()->GetHeaderPosition("transfer-encoding")->second);
79 hello->headers()->GetHeaderPosition("connection")->second);