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

1 2

  /external/chromium/net/spdy/
spdy_http_utils.cc 42 std::string raw_headers(version);
43 raw_headers.push_back(' ');
44 raw_headers.append(status);
45 raw_headers.push_back('\0');
65 raw_headers.append(it->first);
66 raw_headers.push_back(':');
67 raw_headers.append(tval);
68 raw_headers.push_back('\0');
73 response->headers = new HttpResponseHeaders(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_mock_http_job.cc 152 std::string raw_headers; local
153 if (!base::ReadFileToString(header_file, &raw_headers))
157 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\r\n", "\n");
159 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1));
160 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 110 std::string raw_headers; local
111 raw_headers.append("HTTP/1.1 200 OK");
112 raw_headers.push_back('\0');
117 raw_headers.append("cache-control: no-cache");
118 raw_headers.push_back('\0');
120 raw_headers.append("content-type: ");
121 raw_headers.append(mime_type);
122 raw_headers.push_back('\0');
124 raw_headers.push_back('\0');
126 new net::HttpResponseHeaders(raw_headers);
    [all...]
  /external/chromium_org/net/spdy/
spdy_http_utils.cc 44 std::string raw_headers(version);
45 raw_headers.push_back(' ');
46 raw_headers.append(status);
47 raw_headers.push_back('\0');
68 raw_headers.append(it->first.substr(1));
70 raw_headers.append(it->first);
71 raw_headers.push_back(':');
72 raw_headers.append(tval);
73 raw_headers.push_back('\0');
78 response->headers = new HttpResponseHeaders(raw_headers);
    [all...]
  /external/chromium/chrome/browser/net/
url_request_slow_download_job.cc 155 std::string raw_headers; local
158 raw_headers.append(
162 raw_headers.append(
168 raw_headers.append(StringPrintf("Content-Length: %d\n",
174 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1));
175 info->headers = new net::HttpResponseHeaders(raw_headers);
url_request_mock_http_job.cc 99 std::string raw_headers; local
100 if (!file_util::ReadFileToString(header_file, &raw_headers))
104 ReplaceSubstringsAfterOffset(&raw_headers, 0, "\n", std::string("\0", 1));
105 info->headers = new net::HttpResponseHeaders(raw_headers);
  /external/chromium_org/chrome/browser/captive_portal/
testing_utils.cc 17 std::string raw_headers = local
20 return new net::HttpResponseHeaders(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 584 std::string raw_headers;
585 raw_headers.reserve(input_len);
597 raw_headers.append(input_begin, status_line_end);
615 raw_headers.push_back(' ');
616 raw_headers.append(FindFirstNonLWS(line_begin, line_end), line_end);
619 raw_headers.push_back('\n');
622 raw_headers.append(line_begin, line_end);
629 raw_headers.append("\n\n", 2);
634 raw_headers.erase(std::remove(raw_headers.begin(), raw_headers.end(), '\0')
    [all...]
http_response_headers.h 44 // Parses the given raw_headers. raw_headers should be formatted thus:
52 explicit HttpResponseHeaders(const std::string& raw_headers);
293 const std::string& raw_headers() const { return raw_headers_; } function in class:net::HttpResponseHeaders
345 // Replaces the current headers with the merged version of |raw_headers| and
349 void MergeWithHeaders(const std::string& raw_headers,
http_response_headers_unittest.cc 18 const char* raw_headers; member in struct:__anon11869::TestData
26 const std::string raw_headers; member in struct:__anon11869::ContentTypeTestData
46 std::string raw_headers(test.raw_headers);
47 HeadersToRaw(&raw_headers);
52 new net::HttpResponseHeaders(raw_headers));
305 const char* raw_headers; member in struct:__anon11870
472 std::string headers = tests[i].raw_headers;
713 std::string headers(tests[i].raw_headers);
    [all...]
http_cache_unittest.cc 509 std::string raw_headers(net::HttpUtil::AssembleRawHeaders(response.data(),
512 new net::HttpResponseHeaders(raw_headers));
528 void CreateTruncatedEntry(std::string raw_headers, MockHttpCache* cache) {
534 raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(),
535 raw_headers.size());
540 response.headers = new net::HttpResponseHeaders(raw_headers);
    [all...]
http_response_headers.cc 273 void HttpResponseHeaders::MergeWithHeaders(const std::string& raw_headers,
275 std::string new_raw_headers(raw_headers);
1345 std::string raw_headers; local
    [all...]
  /external/chromium_org/chrome/browser/extensions/
extension_protocols.cc 69 std::string raw_headers; local
70 raw_headers.append("HTTP/1.1 200 OK");
72 raw_headers.append(1, '\0');
73 raw_headers.append("Content-Security-Policy: ");
74 raw_headers.append(content_security_policy);
78 raw_headers.append(1, '\0');
79 raw_headers.append("Access-Control-Allow-Origin: *");
90 raw_headers.append(1, '\0');
91 raw_headers.append("ETag: \"");
92 raw_headers.append(etag)
    [all...]
  /external/chromium/net/http/
http_response_headers.h 41 // Parses the given raw_headers. raw_headers should be formatted thus:
47 // NOTE: For now, raw_headers is not really 'raw' in that this constructor is
52 explicit HttpResponseHeaders(const std::string& raw_headers);
247 const std::string& raw_headers() const { return raw_headers_; } function in class:net::HttpResponseHeaders
299 // Replaces the current headers with the merged version of |raw_headers| and
303 void MergeWithHeaders(const std::string& raw_headers,
http_response_headers_unittest.cc 16 const char* raw_headers; member in struct:__anon5525::TestData
24 const std::string raw_headers; member in struct:__anon5525::ContentTypeTestData
44 std::string raw_headers(test.raw_headers);
45 HeadersToRaw(&raw_headers);
50 new net::HttpResponseHeaders(raw_headers));
290 const char* raw_headers; member in struct:__anon5526
445 std::string headers = tests[i].raw_headers;
656 std::string headers(tests[i].raw_headers);
    [all...]
http_cache_unittest.cc 965 std::string raw_headers(net::HttpUtil::AssembleRawHeaders(response.data(),
968 new net::HttpResponseHeaders(raw_headers));
984 void CreateTruncatedEntry(std::string raw_headers, MockHttpCache* cache) {
990 raw_headers = net::HttpUtil::AssembleRawHeaders(raw_headers.data(),
991 raw_headers.size());
996 response.headers = new net::HttpResponseHeaders(raw_headers);
    [all...]
  /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/child/
resource_dispatcher_unittest.cc 122 std::string raw_headers(test_page_headers);
123 std::replace(raw_headers.begin(), raw_headers.end(), '\n', '\0');
124 response.headers = new net::HttpResponseHeaders(raw_headers);
  /external/chromium_org/webkit/browser/appcache/
appcache_response_unittest.cc 160 std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
162 MakeHttpResponseInfo(raw_headers), body.get(), strlen(kHttpBody));
243 net::HttpResponseInfo* MakeHttpResponseInfo(const std::string& raw_headers) {
248 info->headers = new net::HttpResponseHeaders(raw_headers);
382 std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
383 net::HttpResponseInfo* head = MakeHttpResponseInfo(raw_headers);
appcache_url_request_job_unittest.cc 256 std::string raw_headers(kHttpBasicHeaders, arraysize(kHttpBasicHeaders));
258 MakeHttpResponseInfo(raw_headers), body.get(), strlen(kHttpBasicBody));
328 net::HttpResponseInfo* MakeHttpResponseInfo(const std::string& raw_headers) {
333 info->headers = new net::HttpResponseHeaders(raw_headers);
611 std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
613 MakeHttpResponseInfo(raw_headers), body.get(), kBlockSize * 3);
  /external/chromium/net/websockets/
websocket_handshake_handler_unittest.cc 227 std::string raw_headers = local
231 response_info.headers = new HttpResponseHeaders(raw_headers);
  /external/chromium_org/content/browser/loader/
resource_dispatcher_host_unittest.cc     [all...]

Completed in 410 milliseconds

1 2