summaryrefslogtreecommitdiffstats
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-06-29 04:02:40 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-06-29 04:02:40 (GMT)
commitfbac294d590be0b02a38b68fc5680febb060d7c5 (patch)
tree1fd17968ab98f02111beec2cb7f544939be351cc /Lib/urlparse.py
parent289e4cba1cce7e20638d5519355b5b162a2a74af (diff)
downloadcpython-fbac294d590be0b02a38b68fc5680febb060d7c5.zip
cpython-fbac294d590be0b02a38b68fc5680febb060d7c5.tar.gz
cpython-fbac294d590be0b02a38b68fc5680febb060d7c5.tar.bz2
rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network
location) in its addressing. Closes bug #981299.
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r--Lib/urlparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index 2f1965a..37dd362 100644
--- a/Lib/urlparse.py
+++ b/Lib/urlparse.py
@@ -13,7 +13,7 @@ uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
'prospero', 'rtsp', 'rtspu', '']
uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
'imap', 'wais', 'file', 'mms', 'https', 'shttp',
- 'snews', 'prospero', 'rtsp', 'rtspu', '']
+ 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '']
non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
'telnet', 'wais', 'imap', 'snews', 'sip']
uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',