Lines Matching full:scheme

14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zawinski, July 1998.
42 # The empty string classifies URLs with no scheme specified,
73 # Characters valid in scheme names
118 # "scheme=''" default argument to some functions
239 'SplitResult', 'scheme netloc path query fragment')
241 'ParseResult', 'scheme netloc path params query fragment')
259 SplitResult(scheme, netloc, path, query, fragment)
265 _SplitResultBase.scheme.__doc__ = """Specifies URL scheme for the request."""
277 in path component, identifies a resource in the scope of URI's scheme and
287 ParseResult(scheme, netloc, path, params, query, fragment)
292 _ParseResultBase.scheme.__doc__ = _SplitResultBase.scheme.__doc__
361 def urlparse(url, scheme='', allow_fragments=True): argument
363 <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
364 Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
367 url, scheme, _coerce_result = _coerce_args(url, scheme)
368 splitresult = urlsplit(url, scheme, allow_fragments)
369 scheme, netloc, url, query, fragment = splitresult
370 if scheme in uses_params and ';' in url:
374 result = ParseResult(scheme, netloc, url, params, query, fragment)
409 def urlsplit(url, scheme='', allow_fragments=True): argument
411 <scheme>://<netloc>/<path>?<query>#<fragment>
412 Return a 5-tuple: (scheme, netloc, path, query, fragment).
415 url, scheme, _coerce_result = _coerce_args(url, scheme)
417 key = url, scheme, allow_fragments, type(url), type(scheme)
446 # "scheme" is really part of the path)
450 scheme, url = url[:i].lower(), rest
462 v = SplitResult(scheme, netloc, url, query, fragment)
471 scheme, netloc, url, params, query, fragment, _coerce_result = (
475 return _coerce_result(urlunsplit((scheme, netloc, url, query, fragment)))
483 scheme, netloc, url, query, fragment, _coerce_result = (
485 if netloc or (scheme and scheme in uses_netloc and url[:2] != '//'):
488 if scheme:
489 url = scheme + ':' + url
507 scheme, netloc, path, params, query, fragment = \
510 if scheme != bscheme or scheme not in uses_relative:
512 if scheme in uses_netloc:
514 return _coerce_result(urlunparse((scheme, netloc, path,
523 return _coerce_result(urlunparse((scheme, netloc, path,
561 return _coerce_result(urlunparse((scheme, netloc, '/'.join(
975 scheme, data = match.groups()
976 return scheme.lower(), data