/external/chromium_org/net/http/ |
H A D | http_util_icu.cc | 16 std::string HttpUtil::PathForRequest(const GURL& url) { 25 std::string HttpUtil::SpecForRequest(const GURL& url) {
|
H A D | http_util_unittest.cc | 12 using net::HttpUtil; 51 EXPECT_FALSE(HttpUtil::IsSafeHeader(unsafe_headers[i])) 53 EXPECT_FALSE(HttpUtil::IsSafeHeader(StringToUpperASCII(std::string( 97 EXPECT_TRUE(HttpUtil::IsSafeHeader(safe_headers[i])) << safe_headers[i]; 98 EXPECT_TRUE(HttpUtil::IsSafeHeader(StringToUpperASCII(std::string( 118 bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name); 142 HttpUtil::StripHeaders(headers, header_names, 149 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n"); 169 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\n"); 185 HttpUtil [all...] |
H A D | proxy_client_socket.cc | 64 HttpUtil::MapStatusCodeForHistogram(http_status_code), 65 HttpUtil::GetStatusCodesForHistogram()); 69 HttpUtil::MapStatusCodeForHistogram(http_status_code), 70 HttpUtil::GetStatusCodesForHistogram()); 92 HttpUtil::AssembleRawHeaders(fake_response_headers.data(),
|
H A D | http_util.cc | 43 // HttpUtil ------------------------------------------------------------------- 46 size_t HttpUtil::FindDelimiter(const std::string& line, 80 void HttpUtil::ParseContentType(const std::string& content_type_str, 186 bool HttpUtil::ParseRanges(const std::string& headers, 189 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n"); 207 bool HttpUtil::ParseRangeHeader(const std::string& ranges_specifier, 278 bool HttpUtil::HasHeader(const std::string& headers, const char* name) { 330 bool HttpUtil::IsSafeHeader(const std::string& name) { 343 bool HttpUtil::IsValidHeaderName(const std::string& name) { 345 return HttpUtil [all...] |
H A D | http_auth_challenge_tokenizer.cc | 23 HttpUtil::NameValuePairsIterator HttpAuthChallengeTokenizer::param_pairs() 25 return HttpUtil::NameValuePairsIterator(params_begin_, params_end_, ','); 58 HttpUtil::TrimLWS(¶ms_begin_, ¶ms_end_);
|
H A D | http_auth_challenge_tokenizer_unittest.cc | 14 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 30 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 46 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 62 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 79 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 96 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 120 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 134 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); 159 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
|
H A D | http_basic_state.cc | 53 const std::string path = using_proxy_ ? HttpUtil::SpecForRequest(url) 54 : HttpUtil::PathForRequest(url);
|
H A D | http_auth_handler_digest.cc | 119 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs(); 205 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs(); 256 HttpUtil::ValuesIterator qop_values(value.begin(), value.end(), ','); 314 *path = HttpUtil::PathForRequest(url); 355 HttpUtil::Quote( 357 authorization += ", realm=" + HttpUtil::Quote(original_realm_); 358 authorization += ", nonce=" + HttpUtil::Quote(nonce_); 359 authorization += ", uri=" + HttpUtil::Quote(path); 366 // No need to call HttpUtil::Quote() as the response digest cannot contain 371 authorization += ", opaque=" + HttpUtil [all...] |
H A D | http_auth_challenge_tokenizer.h | 42 HttpUtil::NameValuePairsIterator param_pairs() const;
|
H A D | http_request_headers.cc | 87 DCHECK(HttpUtil::IsValidHeaderName(key.as_string())); 88 DCHECK(HttpUtil::IsValidHeaderValue(value.as_string())); 98 DCHECK(HttpUtil::IsValidHeaderName(key.as_string())); 99 DCHECK(HttpUtil::IsValidHeaderValue(value.as_string())); 138 HttpUtil::TrimLWS(&header_value_begin, &header_value_end);
|
H A D | http_auth_handler_basic.cc | 41 HttpUtil::NameValuePairsIterator parameters = tokenizer.param_pairs();
|
H A D | http_security_headers.cc | 101 HttpUtil::TrimLWS(&start, &end); 121 std::string unquoted = HttpUtil::Unquote(value); 224 unquoted = HttpUtil::Unquote(tokenizer.token());
|
H A D | http_response_headers.cc | 151 HttpUtil::MapStatusCodeForHistogram( 156 HttpUtil::GetStatusCodesForHistogram()); 438 HttpUtil::HeadersIterator headers(line_end + 1, raw_headers_.end(), 508 DCHECK(!HttpUtil::IsNonCoalescingHeader(name)); 788 HttpUtil::IsNonCoalescingHeader(name_begin, name_end)) { 791 HttpUtil::ValuesIterator it(values_begin, values_end, ','); 848 HttpUtil::TrimLWS(&item, &item_end); 899 HttpUtil::ParseContentType(value, mime_type, charset, &had_charset, NULL); 1203 return HttpUtil::HasStrongValidators(GetHttpVersion(), 1264 HttpUtil [all...] |
H A D | http_content_disposition.cc | 352 HttpUtil::TrimLWS(&type_begin, &type_end); 357 if (!HttpUtil::IsToken(type_begin, type_end)) 406 HttpUtil::NameValuePairsIterator iter(pos, end, ';');
|
/external/chromium_org/net/url_request/ |
H A D | url_range_request_job.cc | 25 if (!HttpUtil::ParseRangeHeader(range_header, &ranges_)) {
|
H A D | url_request_redirect_job.cc | 110 HttpUtil::AssembleRawHeaders(header_string.c_str(),
|
/external/chromium_org/chromecast/shell/browser/ |
H A D | cast_http_user_agent_settings.cc | 32 accept_language_ = net::HttpUtil::GenerateAcceptLanguageHeader(
|
/external/chromium_org/content/browser/ |
H A D | transition_request_manager_unittest.cc | 35 new net::HttpResponseHeaders(net::HttpUtil::AssembleRawHeaders( 53 new net::HttpResponseHeaders(net::HttpUtil::AssembleRawHeaders( 70 new net::HttpResponseHeaders(net::HttpUtil::AssembleRawHeaders( 92 new net::HttpResponseHeaders(net::HttpUtil::AssembleRawHeaders(
|
/external/chromium_org/chrome/browser/net/ |
H A D | chrome_http_user_agent_settings.cc | 18 net::HttpUtil::GenerateAcceptLanguageHeader(last_pref_accept_language_); 38 net::HttpUtil::GenerateAcceptLanguageHeader(new_pref_accept_language);
|
/external/chromium_org/components/captive_portal/ |
H A D | captive_portal_testing_utils.cc | 17 std::string raw_headers = net::HttpUtil::AssembleRawHeaders(
|
/external/chromium_org/net/proxy/ |
H A D | proxy_server.cc | 102 HttpUtil::TrimLWS(&begin, &end); 149 HttpUtil::TrimLWS(&begin, &end); 157 if (HttpUtil::IsLWS(*space)) { 222 HttpUtil::TrimLWS(&begin, &end);
|
/external/chromium_org/net/quic/ |
H A D | quic_in_memory_cache.cc | 130 int headers_end = HttpUtil::LocateEndOfHeaders(file_contents.data(), 138 HttpUtil::AssembleRawHeaders(file_contents.data(), headers_end);
|
/external/chromium_org/media/blink/ |
H A D | cache_util.cc | 41 !net::HttpUtil::HasStrongValidators(
|
/external/chromium_org/net/spdy/ |
H A D | spdy_http_utils.cc | 123 (*headers)["url"] = HttpUtil::PathForRequest(info.url); 125 (*headers)["url"] = HttpUtil::SpecForRequest(info.url); 135 (*headers)[":path"] = HttpUtil::PathForRequest(info.url);
|
/external/chromium_org/net/websockets/ |
H A D | websocket_handshake_handler.cc | 57 net::HttpUtil::HeadersIterator iter(headers.begin(), headers.end(), "\r\n"); 78 if (*name_begin == *name_end || net::HttpUtil::IsLWS(**name_begin)) 80 net::HttpUtil::TrimLWS(name_begin, name_end); 84 // Similar to HttpUtil::StripHeaders, but it preserves malformed headers, that 163 HttpUtil::LocateEndOfHeaders(input.data(), input.size(), 0); 188 HttpUtil::AppendHeaderIfMissing(name.c_str(), value, &headers_); 239 HttpUtil::HeadersIterator iter(headers_.begin(), headers_.end(), "\r\n"); 327 original_header_length_ = HttpUtil::LocateEndOfHeaders(
|