Home
last modified time | relevance | path

Searched refs:request_uri (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
D__init__.py178 request_uri = query and "?".join([path, query]) or path
180 defrag_uri = scheme + "://" + authority + request_uri
181 return scheme, authority, request_uri, defrag_uri
415 def __init__(self, credentials, host, request_uri, headers, response, content, http): argument
416 (scheme, authority, path, query, fragment) = parse_uri(request_uri)
422 def depth(self, request_uri): argument
423 (scheme, authority, path, query, fragment) = parse_uri(request_uri)
424 return request_uri[len(self.path):].count("/")
426 def inscope(self, host, request_uri): argument
428 (scheme, authority, path, query, fragment) = parse_uri(request_uri)
[all …]
/external/chromium_org/net/tools/quic/
Dspdy_utils.cc106 string url = request_headers.request_uri().as_string(); in RequestHeadersToSpdyHeaders()
110 GURL request_uri(url); in RequestHeadersToSpdyHeaders() local
114 path = request_uri.path(); in RequestHeadersToSpdyHeaders()
115 if (!request_uri.query().empty()) { in RequestHeadersToSpdyHeaders()
116 path = path + "?" + request_uri.query(); in RequestHeadersToSpdyHeaders()
118 host_and_port = request_uri.host(); in RequestHeadersToSpdyHeaders()
119 scheme = request_uri.scheme(); in RequestHeadersToSpdyHeaders()
Dquic_spdy_server_stream_test.cc168 EXPECT_EQ("https://www.google.com/", StreamHeaders().request_uri()); in TEST_P()
182 EXPECT_EQ("https://www.google.com/", StreamHeaders().request_uri()); in TEST_P()
200 EXPECT_EQ("https://www.google.com/", StreamHeaders().request_uri()); in TEST_P()
Dquic_in_memory_cache.cc228 StringPiece uri = request_headers.request_uri(); in GetKey()
/external/chromium_org/net/tools/balsa/
Dbalsa_frame_test.cc111 const char* request_uri = NULL; in TEST_F() local
125 SaveArg<4>(&request_uri), in TEST_F()
150 ASSERT_EQ("/", StringPiece(request_uri, request_uri_length)); in TEST_F()
408 const char* request_uri = NULL; in TEST_F() local
422 SaveArg<4>(&request_uri), in TEST_F()
442 ASSERT_EQ("/", StringPiece(request_uri, request_uri_length)); in TEST_F()
Dbalsa_headers.h856 const base::StringPiece request_uri() const { in request_uri() function
866 return request_uri(); in response_code()
Dbalsa_headers_test.cc377 ASSERT_EQ("/path", headers_->request_uri()); in TEST_F()
Dbalsa_headers.cc910 SetFirstlineFromStringPieces(method, request_uri(), request_version()); in SetRequestMethod()
962 SetFirstlineFromStringPieces(request_method(), request_uri(), version); in SetRequestVersion()
/external/chromium_org/net/tools/flip_server/
Dhttp_interface.cc52 << "Received Request: " << headers.request_uri().as_string() << " " in ProcessHeaders()
55 EncodeURL(headers.request_uri().as_string(), host, method); in ProcessHeaders()
Dspdy_interface.cc458 block["url"] = headers.request_uri().as_string(); in SendSynStreamImpl()
469 block[":path"] = headers.request_uri().as_string(); in SendSynStreamImpl()
/external/chromium_org/net/tools/quic/test_tools/
Dquic_test_client.cc83 StringPiece uri = const_headers->request_uri(); in MungeHeaders()
253 GURL url(message.headers()->request_uri().as_string()); in SendMessage()
/external/chromium_org/net/quic/
Dquic_in_memory_cache.cc227 StringPiece uri = request_headers.request_uri(); in GetKey()