summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-20 18:32:16 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-20 18:32:16 (GMT)
commitbdd44a389bfbfa0960eaafcc246b10f98d060a99 (patch)
tree631d5983caa36c1a51b6617ccfa27b4d370e92fb
parent396f6e0d6ae414c4bdfbd428da5d64700dcfabf8 (diff)
downloadcpython-bdd44a389bfbfa0960eaafcc246b10f98d060a99.zip
cpython-bdd44a389bfbfa0960eaafcc246b10f98d060a99.tar.gz
cpython-bdd44a389bfbfa0960eaafcc246b10f98d060a99.tar.bz2
Pekka Pessi <Pekka.Pessi@nokia.com>:
Patch to add support for sip: (Session Initiation Protocol, RFC2543) URLs.
-rw-r--r--Lib/urlparse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index f4b4522..929315e 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',