Lines Matching refs:headers
19 const char* headers;
32 bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name);
38 static const char* headers =
56 HttpUtil::StripHeaders(headers, header_names,
61 std::string headers = "foo: 1\t\r\nbar: hello world\r\nbaz: 3 \r\n";
63 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
81 std::string headers = "foo: 1\n: 2\n3\nbar: 4";
83 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\n");
97 std::string headers = "foo: 1\r\n: 2\r\n3\r\nbar: 4";
99 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
105 EXPECT_FALSE(it.GetNext()); // should be at end of headers
109 std::string headers = "foo: 1\r\n: 2\r\n3\r\nbar: 4";
110 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
381 // Single terminated, with headers
392 // Not terminated, with headers
544 const char* headers;
658 bool return_value = HttpUtil::ParseRanges(std::string(tests[i].headers),