Lines Matching refs:path
236 Returns a tuple containing the path to the newly created
239 url_type, path = _splittype(url)
244 # Just return the local path and the "headers" for file://
247 return os.path.normpath(path), headers
345 # unwrap('<URL:type://host/path>') --> 'type://host/path'
713 if not urlparts.path and urlparts.netloc:
775 # and 3.3.), path is empty or starts with '/'
861 """Accept authority or URI and extract only the authority and path."""
868 path = parts[2] or '/'
873 path = '/'
881 return authority, path
1558 path, attrs = _splitattr(req.selector)
1559 dirs = path.split('/')
1682 to a file system path; not recommended for general use."""
1686 """OS-specific conversion from a file system path to a relative URL
1827 garbage, path = _splittype(url)
1828 garbage, path = _splithost(path or "")
1829 path, garbage = _splitquery(path or "")
1830 path, garbage = _splitattr(path or "")
1831 suffix = os.path.splitext(path)[1]
1880 - url is the url to retrieval or a host, relative-path pair.
2044 host, path = _splithost(url)
2059 path, attrs = _splitattr(path)
2060 path = unquote(path)
2061 dirs = path.split('/')