Lines Matching refs:scheme
163 (scheme, authority, path, query, fragment) = parse_uri(uri)
169 (scheme, authority, path, query, fragment) = parse_uri(uri)
170 if not scheme or not authority:
173 scheme = scheme.lower()
179 scheme = scheme.lower()
180 defrag_uri = scheme + "://" + authority + request_uri
181 return scheme, authority, request_uri, defrag_uri
250 # Break off the scheme at the beginning of the line
255 # Now loop over all the key value pairs that come after the scheme,
256 # being careful not to roll into the next scheme
410 # auth scheme may change as you descend the tree.
416 (scheme, authority, path, query, fragment) = parse_uri(request_uri)
423 (scheme, authority, path, query, fragment) = parse_uri(request_uri)
428 (scheme, authority, path, query, fragment) = parse_uri(request_uri)
839 for scheme in AUTH_SCHEME_ORDER:
840 if challenges.has_key(scheme):
841 yield AUTH_SCHEME_CLASSES[scheme](cred, host, request_uri, headers, response, content, self)
928 (scheme, authority, path, query, fragment) = parse_uri(location)
998 (scheme, authority, request_uri, defrag_uri) = urlnorm(uri)
1000 if len(domain_port) == 2 and domain_port[1] == '443' and scheme == 'http':
1001 scheme = 'https'
1004 conn_key = scheme+":"+authority
1009 connection_type = (scheme == 'https') and HTTPSConnectionWithTimeout or HTTPConnectionWithTimeout
1011 if scheme == 'https' and certs: