diff options
author | Fred Drake <fdrake@acm.org> | 2000-06-20 18:32:16 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-06-20 18:32:16 +0000 |
commit | 5aaaf4a0281bb68ab74998902ca98f0f3d152e40 (patch) | |
tree | 9e18ce6f4d2fa376112ff028fa8dc505dd00b9fe | |
parent | 72a0f94a5e84555c31dc9fc6707795f60823df5c (diff) | |
download | cpython-5aaaf4a0281bb68ab74998902ca98f0f3d152e40.tar.gz |
Pekka Pessi <Pekka.Pessi@nokia.com>:
Patch to add support for sip: (Session Initiation Protocol, RFC2543)
URLs.
-rw-r--r-- | Lib/urlparse.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py index f4b45226b7..929315e963 100644 --- a/Lib/urlparse.py +++ b/Lib/urlparse.py @@ -17,14 +17,14 @@ uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', 'https', 'shttp', 'snews', 'prospero', 'rtsp', 'rtspu', ''] non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais', - 'snews', + 'snews', 'sip', ] uses_params = ['ftp', 'hdl', 'prospero', 'http', - 'https', 'shttp', 'rtsp', 'rtspu', + 'https', 'shttp', 'rtsp', 'rtspu', 'sip', ''] uses_query = ['http', 'wais', 'https', 'shttp', - 'gopher', 'rtsp', 'rtspu', + 'gopher', 'rtsp', 'rtspu', 'sip', ''] uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news', 'nntp', 'wais', 'https', 'shttp', 'snews', |