| urlparse | index /usr/lib/python1.5/urlparse.py |
# Parse (absolute and relative) URLs. See RFC 1808: "Relative Uniform
# Resource Locators", by R. Fielding, UC Irvine, June 1995.
| Modules | |||||||
| |||||||
| Functions | |||
| |||
| Constants | |||
MAX_CACHE_SIZE = 20 non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais', 'snews'] scheme_chars = 'abcdefghijklmnopqrstuvw...PQRSTUVWXYZ0123456789+-.' test_input = '\012 http://a/b/c/d\012\012...L:http://a/b/c/g?y/./x>\012' uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', 'nntp', 'wais', 'https', 'shttp', 'snews', ...] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', 'file', 'https', 'shttp', 'snews', ...] uses_params = ['ftp', 'hdl', 'prospero', 'http', 'https', 'shttp', ''] uses_query = ['http', 'wais', 'https', 'shttp', 'gopher', ''] uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file', 'https', 'shttp', 'prospero', ''] | |||