HomeSort by relevance Sort by last modified time
    Searched refs:raw_headers (Results 1 - 25 of 34) sorted by null

1 2

  /external/chromium_org/components/data_reduction_proxy/browser/
data_reduction_proxy_tamper_detection_unittest.cc 243 std::string raw_headers(test[i].raw_header);
244 HeadersToRaw(&raw_headers);
246 new net::HttpResponseHeaders(raw_headers));
367 std::string raw_headers(test[i].raw_header);
368 HeadersToRaw(&raw_headers);
370 new net::HttpResponseHeaders(raw_headers));
500 std::string raw_headers(test[i].raw_header);
501 HeadersToRaw(&raw_headers);
503 new net::HttpResponseHeaders(raw_headers));
576 std::string raw_headers(test[i].raw_header)
    [all...]
data_reduction_proxy_usage_stats_unittest.cc 300 std::string raw_headers(test_cases[i].headers);
301 HeadersToRaw(&raw_headers);
303 new net::HttpResponseHeaders(raw_headers));
413 std::string raw_headers(test_cases[i].headers);
414 HeadersToRaw(&raw_headers);
418 raw_headers));
  /external/chromium_org/content/test/net/
url_request_abort_on_end_job.cc 55 std::string raw_headers; local
58 raw_headers.append(
65 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1));
66 info->headers = new net::HttpResponseHeaders(raw_headers);
url_request_slow_download_job.cc 242 std::string raw_headers; local
247 raw_headers.append(
251 raw_headers.append(
257 raw_headers.append(base::StringPrintf(
264 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1));
265 info->headers = new net::HttpResponseHeaders(raw_headers);
  /external/chromium_org/chrome/renderer/
security_filter_peer.cc 107 std::string raw_headers; local
108 raw_headers.append("HTTP/1.1 200 OK");
109 raw_headers.push_back('\0');
114 raw_headers.append("cache-control: no-cache");
115 raw_headers.push_back('\0');
117 raw_headers.append("content-type: ");
118 raw_headers.append(mime_type);
119 raw_headers.push_back('\0');
121 raw_headers.push_back('\0');
123 new net::HttpResponseHeaders(raw_headers);
    [all...]
  /external/chromium_org/net/spdy/
spdy_http_utils.cc 61 std::string raw_headers(version);
62 raw_headers.push_back(' ');
63 raw_headers.append(status);
64 raw_headers.push_back('\0');
85 raw_headers.append(it->first.substr(1));
87 raw_headers.append(it->first);
88 raw_headers.push_back(':');
89 raw_headers.append(tval);
90 raw_headers.push_back('\0');
95 response->headers = new HttpResponseHeaders(raw_headers);
    [all...]
  /external/chromium_org/extensions/browser/
extension_protocols.cc 543 std::string raw_headers; local
544 raw_headers.append("HTTP/1.1 200 OK");
546 raw_headers.append(1, '\0');
547 raw_headers.append("Content-Security-Policy: ");
548 raw_headers.append(content_security_policy);
552 raw_headers.append(1, '\0');
553 raw_headers.append("Access-Control-Allow-Origin: *");
564 raw_headers.append(1, '\0');
565 raw_headers.append("ETag: \"");
566 raw_headers.append(etag)
    [all...]
  /external/chromium_org/components/captive_portal/
captive_portal_testing_utils.cc 17 std::string raw_headers = net::HttpUtil::AssembleRawHeaders( local
19 return new net::HttpResponseHeaders(raw_headers);
  /external/chromium_org/net/test/url_request/
url_request_mock_http_job.cc 83 std::string raw_headers; local
84 base::ReadFileToString(header_file, &raw_headers);
85 return raw_headers;
174 void URLRequestMockHTTPJob::GetRawHeaders(std::string raw_headers) {
176 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\r\n", "\n");
178 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1));
179 raw_headers_ = raw_headers;
url_request_mock_http_job.h 81 void GetRawHeaders(std::string raw_headers);
  /external/chromium_org/net/http/
proxy_client_socket.cc 91 std::string raw_headers = local
94 response->headers = new HttpResponseHeaders(raw_headers);
http_util.cc 583 std::string raw_headers; local
584 raw_headers.reserve(input_len);
596 raw_headers.append(input_begin, status_line_end);
614 raw_headers.push_back(' ');
615 raw_headers.append(FindFirstNonLWS(line_begin, line_end), line_end);
618 raw_headers.push_back('\n');
621 raw_headers.append(line_begin, line_end);
628 raw_headers.append("\n\n", 2);
633 raw_headers.erase(std::remove(raw_headers.begin(), raw_headers.end(), '\0')
    [all...]
http_response_headers_unittest.cc 20 const char* raw_headers; member in struct:__anon13933::TestData
47 std::string raw_headers("HTTP/1.1 200 OK\n");
48 raw_headers += "Cache-Control: ";
49 raw_headers += cache_control;
50 raw_headers += "\n";
51 HeadersToRaw(&raw_headers);
52 headers_ = new net::HttpResponseHeaders(raw_headers);
93 std::string raw_headers(test.raw_headers);
94 HeadersToRaw(&raw_headers);
326 const char* raw_headers; member in struct:__anon13933::PersistData
614 const std::string raw_headers; member in struct:__anon13933::ContentTypeTestData
    [all...]
http_response_headers.h 48 // Parses the given raw_headers. raw_headers should be formatted thus:
56 explicit HttpResponseHeaders(const std::string& raw_headers);
285 const std::string& raw_headers() const { return raw_headers_; } function in class:net::HttpResponseHeaders
343 // Replaces the current headers with the merged version of |raw_headers| and
347 void MergeWithHeaders(const std::string& raw_headers,
http_cache_unittest.cc 425 std::string raw_headers(net::HttpUtil::AssembleRawHeaders(response.data(),
428 new net::HttpResponseHeaders(raw_headers));
444 void CreateTruncatedEntry(std::string raw_headers, MockHttpCache* cache) {
450 raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(),
451 raw_headers.size());
456 response.headers = new net::HttpResponseHeaders(raw_headers);
    [all...]
http_response_headers.cc 270 void HttpResponseHeaders::MergeWithHeaders(const std::string& raw_headers,
272 std::string new_raw_headers(raw_headers);
1384 std::string raw_headers; local
    [all...]
http_stream_parser.cc 31 std::string raw_headers = headers.raw_headers(); local
32 const char* null_separated_headers = raw_headers.c_str();
    [all...]
  /external/chromium_org/content/browser/streams/
stream_handle_impl.cc 39 new net::HttpResponseHeaders(response_headers->raw_headers());
  /external/chromium_org/net/quic/
quic_in_memory_cache.cc 137 string raw_headers = local
141 new HttpResponseHeaders(raw_headers);
  /external/chromium_org/net/websockets/
websocket_handshake_handler_test.cc 211 std::string raw_headers = local
215 response_info.headers = new HttpResponseHeaders(raw_headers);
  /external/chromium_org/content/browser/appcache/
appcache_response_unittest.cc 159 std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
161 MakeHttpResponseInfo(raw_headers), body.get(), strlen(kHttpBody));
242 net::HttpResponseInfo* MakeHttpResponseInfo(const std::string& raw_headers) {
247 info->headers = new net::HttpResponseHeaders(raw_headers);
380 std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
381 net::HttpResponseInfo* head = MakeHttpResponseInfo(raw_headers);
appcache_url_request_job_unittest.cc 298 std::string raw_headers(kHttpBasicHeaders, arraysize(kHttpBasicHeaders));
300 MakeHttpResponseInfo(raw_headers), body.get(), strlen(kHttpBasicBody));
370 net::HttpResponseInfo* MakeHttpResponseInfo(const std::string& raw_headers) {
375 info->headers = new net::HttpResponseHeaders(raw_headers);
657 std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
659 MakeHttpResponseInfo(raw_headers), body.get(), kBlockSize * 3);
  /external/chromium_org/content/child/
resource_dispatcher_unittest.cc 248 std::string raw_headers(kTestRedirectHeaders);
249 std::replace(raw_headers.begin(), raw_headers.end(), '\n', '\0');
250 head.headers = new net::HttpResponseHeaders(raw_headers);
262 std::string raw_headers(kTestPageHeaders);
263 std::replace(raw_headers.begin(), raw_headers.end(), '\n', '\0');
264 head.headers = new net::HttpResponseHeaders(raw_headers);
  /external/chromium_org/content/browser/loader/
resource_dispatcher_host_unittest.cc     [all...]
  /external/chromium_org/chrome/browser/extensions/api/dial/
dial_service.cc 329 std::string raw_headers = local
331 VLOG(3) << "raw_headers: " << raw_headers << "\n";
333 new HttpResponseHeaders(raw_headers);

Completed in 522 milliseconds

1 2