Pekka Pessi <Pekka.Pessi@nokia.com>:
Patch to add support for sip: (Session Initiation Protocol, RFC2543)
URLs.
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 @@
'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',