| urlparse | index /usr/lib/python1.6/urlparse.py |
Parse (absolute and relative) URLs.
See RFC 1808: "Relative Uniform Resource Locators", by R. Fielding,
UC Irvine, June 1995.
| Modules | ||||||
| ||||||
| Functions | ||
| ||
| Data | ||
| MAX_CACHE_SIZE = 20 __file__ = '/usr/lib/python1.6/urlparse.pyc' __name__ = 'urlparse' _parse_cache = {} non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais', 'snews'] scheme_chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+-.' test_input = '\012 http://a/b/c/d\012\012 g:h = <URL:g... http:g?y/./x = <URL:http://a/b/c/g?y/./x>\012' uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', 'nntp', 'wais', 'https', 'shttp', 'snews', 'file', 'prospero', ''] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', 'file', 'https', 'shttp', 'snews', 'prospero', 'rtsp', 'rtspu', ''] uses_params = ['ftp', 'hdl', 'prospero', 'http', 'https', 'shttp', 'rtsp', 'rtspu', ''] uses_query = ['http', 'wais', 'https', 'shttp', 'gopher', 'rtsp', 'rtspu', ''] uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file', 'https', 'shttp', 'prospero', 'rtsp', 'rtspu', ''] | ||