Lines Matching refs:path

252     'SplitResult', 'scheme netloc path query fragment')
254 'ParseResult', 'scheme netloc path params query fragment')
272 SplitResult(scheme, netloc, path, query, fragment)
284 _SplitResultBase.path.__doc__ = """
285 The hierarchical path, such as the path to a file to download.
290 in path component, identifies a resource in the scope of URI's scheme and
300 ParseResult(scheme, netloc, path, params, query, fragment)
307 _ParseResultBase.path.__doc__ = _SplitResultBase.path.__doc__
309 Parameters for last path element used to dereference the URI in order to provide
376 <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
390 path or query.
455 <scheme>://<netloc>/<path>?<query>#<fragment>
469 path or query.
550 scheme, netloc, path, params, query, fragment = \
557 return _coerce_result(urlunparse((scheme, netloc, path,
561 if not path and not params:
562 path = bpath
566 return _coerce_result(urlunparse((scheme, netloc, path,
572 # in resolving the relative path
575 # for rfc3986, ignore all base path should the first character be root.
576 if path[:1] == '/':
577 segments = path.split('/')
579 segments = base_parts + path.split('/')
844 Each part of a URL, e.g. the path info, the query, etc., has a
866 typical usage the quote function is being called on a path where the
1038 """Transform a string like '<URL:scheme://host/path>' into 'scheme://host/path'.
1080 """splithost('//host[:port]/path') --> 'host[:port]', '/path'."""
1087 host_port, path = match.groups()
1088 if path and path[0] != '/':
1089 path = '/' + path
1090 return host_port, path
1127 # splittag('/path#tag') --> '/path', 'tag'
1175 """splitquery('/path?query') --> '/path', 'query'."""
1176 path, delim, query = url.rpartition('?')
1178 return path, query
1190 """splittag('/path#tag') --> '/path', 'tag'."""
1191 path, delim, tag = url.rpartition('#')
1193 return path, tag
1205 """splitattr('/path;attr1=value1;attr2=value2;...') ->
1206 '/path', ['attr1=value1', 'attr2=value2', ...]."""