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

1 2 3 4

  /external/chromium/net/http/
http_util_icu.cc 16 std::string HttpUtil::PathForRequest(const GURL& url) {
24 std::string HttpUtil::SpecForRequest(const GURL& url) {
http_util_unittest.cc 11 using net::HttpUtil;
32 bool result = HttpUtil::HasHeader(tests[i].headers, tests[i].name);
56 HttpUtil::StripHeaders(headers, header_names,
63 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
83 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\n");
99 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
110 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
124 HttpUtil::ValuesIterator it(values.begin(), values.end(), ',');
141 HttpUtil::ValuesIterator it(values.begin(), values.end(), ',');
148 EXPECT_STREQ("xyz\"abc", HttpUtil::Unquote("\"xyz\\\"abc\"").c_str())
    [all...]
http_util.cc 58 size_t HttpUtil::FindDelimiter(const string& line, size_t search_start,
91 void HttpUtil::ParseContentType(const string& content_type_str,
190 bool HttpUtil::ParseRanges(const std::string& headers,
193 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
211 bool HttpUtil::ParseRangeHeader(const std::string& ranges_specifier,
282 bool HttpUtil::HasHeader(const std::string& headers, const char* name) {
305 std::string HttpUtil::StripHeaders(const std::string& headers,
309 net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
330 bool HttpUtil::IsNonCoalescingHeader(string::const_iterator name_begin,
353 bool HttpUtil::IsLWS(char c)
    [all...]
http_auth_handler_digest.cc 116 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
207 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
254 HttpUtil::ValuesIterator qop_values(value.begin(), value.end(), ',');
311 *path = HttpUtil::PathForRequest(url);
353 HttpUtil::Quote(UTF16ToUTF8(username)));
354 authorization += ", realm=" + HttpUtil::Quote(realm_);
355 authorization += ", nonce=" + HttpUtil::Quote(nonce_);
356 authorization += ", uri=" + HttpUtil::Quote(path);
363 // No need to call HttpUtil::Quote() as the response digest cannot contain
368 authorization += ", opaque=" + HttpUtil::Quote(opaque_)
    [all...]
http_auth_handler_basic.cc 38 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
59 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
http_auth_unittest.cc 43 HttpUtil::AssembleRawHeaders(response.c_str(), response.length()));
247 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
263 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
279 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
295 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
312 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
329 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
353 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
367 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
392 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs()
    [all...]
http_auth.cc 90 HttpUtil::NameValuePairsIterator HttpAuth::ChallengeTokenizer::param_pairs()
92 return HttpUtil::NameValuePairsIterator(params_begin_, params_end_, ',');
125 HttpUtil::TrimLWS(&params_begin_, &params_end_);
http_basic_stream.cc 48 HttpUtil::SpecForRequest(request_info_->url) :
49 HttpUtil::PathForRequest(request_info_->url);
http_auth_controller_unittest.cc 52 std::string headers_string = HttpUtil::AssembleRawHeaders(
  /external/chromium_org/net/http/
http_util_icu.cc 16 std::string HttpUtil::PathForRequest(const GURL& url) {
24 std::string HttpUtil::SpecForRequest(const GURL& url) {
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::HeadersIterator it(headers.begin(), headers.end(), "\r\n")
    [all...]
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(),
http_util.cc 61 size_t HttpUtil::FindDelimiter(const string& line, size_t search_start,
94 void HttpUtil::ParseContentType(const string& content_type_str,
200 bool HttpUtil::ParseRanges(const std::string& headers,
203 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
221 bool HttpUtil::ParseRangeHeader(const std::string& ranges_specifier,
292 bool HttpUtil::HasHeader(const std::string& headers, const char* name) {
344 bool HttpUtil::IsSafeHeader(const std::string& name) {
357 std::string HttpUtil::StripHeaders(const std::string& headers,
361 net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
382 bool HttpUtil::IsNonCoalescingHeader(string::const_iterator name_begin
    [all...]
http_auth_handler_digest.cc 117 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
203 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
254 HttpUtil::ValuesIterator qop_values(value.begin(), value.end(), ',');
312 *path = HttpUtil::PathForRequest(url);
353 HttpUtil::Quote(
355 authorization += ", realm=" + HttpUtil::Quote(original_realm_);
356 authorization += ", nonce=" + HttpUtil::Quote(nonce_);
357 authorization += ", uri=" + HttpUtil::Quote(path);
364 // No need to call HttpUtil::Quote() as the response digest cannot contain
369 authorization += ", opaque=" + HttpUtil::Quote(opaque_)
    [all...]
http_auth_unittest.cc 43 HttpUtil::AssembleRawHeaders(response.c_str(), response.length()));
252 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
268 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
284 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
300 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
317 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
334 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
358 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
372 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
397 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs()
    [all...]
http_auth.cc 102 HttpUtil::NameValuePairsIterator HttpAuth::ChallengeTokenizer::param_pairs()
104 return HttpUtil::NameValuePairsIterator(params_begin_, params_end_, ',');
137 HttpUtil::TrimLWS(&params_begin_, &params_end_);
http_basic_stream.cc 50 HttpUtil::SpecForRequest(request_info_->url) :
51 HttpUtil::PathForRequest(request_info_->url);
  /external/chromium_org/chrome/browser/net/
chrome_http_user_agent_settings.cc 18 net::HttpUtil::GenerateAcceptLanguageHeader(last_pref_accept_language_);
38 net::HttpUtil::GenerateAcceptLanguageHeader(new_pref_accept_language);
  /external/chromium/net/websockets/
websocket_handshake_draft75.cc 72 int eoh = HttpUtil::LocateEndOfHeaders(data, len);
102 int eoh = HttpUtil::LocateEndOfHeaders(data, len);
107 new HttpResponseHeaders(HttpUtil::AssembleRawHeaders(data, eoh)));
  /external/chromium_org/chrome_frame/
http_negotiate.cc 90 using net::HttpUtil;
98 HttpUtil::HeadersIterator headers_iterator(ascii_headers.begin(),
106 HttpUtil::HeadersIterator original_it(original_headers.begin(),
119 using net::HttpUtil;
122 HttpUtil::HeadersIterator headers_iterator(old_headers.begin(),
  /external/chromium/net/spdy/
spdy_http_utils.cc 106 (*headers)["url"] = HttpUtil::PathForRequest(info.url);
108 (*headers)["url"] = HttpUtil::SpecForRequest(info.url);
  /external/chromium_org/chrome/browser/net/spdyproxy/
http_auth_handler_spdyproxy.cc 26 using net::HttpUtil;
130 HttpUtil::NameValuePairsIterator parameters = challenge->param_pairs();
  /external/chromium/net/proxy/
proxy_server.cc 106 HttpUtil::TrimLWS(&begin, &end);
151 HttpUtil::TrimLWS(&begin, &end);
159 if (HttpUtil::IsLWS(*space)) {
219 HttpUtil::TrimLWS(&begin, &end);
  /external/chromium_org/chrome/browser/captive_portal/
testing_utils.cc 18 net::HttpUtil::AssembleRawHeaders(response_headers.c_str(),
  /external/chromium_org/net/proxy/
proxy_server.cc 105 HttpUtil::TrimLWS(&begin, &end);
150 HttpUtil::TrimLWS(&begin, &end);
158 if (HttpUtil::IsLWS(*space)) {
218 HttpUtil::TrimLWS(&begin, &end);

Completed in 6296 milliseconds

1 2 3 4