diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-09-16 11:45:15 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-09-16 11:45:15 (GMT) |
commit | f8479eeb34de987a5683af9a0c446dc35b4fd534 (patch) | |
tree | 0940fd6b20ab8dfda34104ab5636267ccfcd756d /Lib/urllib/parse.py | |
parent | 355bbb0a2ae864acd6c719b3529c6f5cabfdd950 (diff) | |
parent | f676748a052cacdf9963aa840bfa6107275d163e (diff) | |
download | cpython-f8479eeb34de987a5683af9a0c446dc35b4fd534.zip cpython-f8479eeb34de987a5683af9a0c446dc35b4fd534.tar.gz cpython-f8479eeb34de987a5683af9a0c446dc35b4fd534.tar.bz2 |
Issue #25895: Merge from 3.5
Diffstat (limited to 'Lib/urllib/parse.py')
-rw-r--r-- | Lib/urllib/parse.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py index 99a6977..958767a 100644 --- a/Lib/urllib/parse.py +++ b/Lib/urllib/parse.py @@ -42,11 +42,12 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag", uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap', 'wais', 'file', 'https', 'shttp', 'mms', 'prospero', 'rtsp', 'rtspu', '', 'sftp', - 'svn', 'svn+ssh'] + 'svn', 'svn+ssh', 'ws', 'wss'] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'imap', 'wais', 'file', 'mms', 'https', 'shttp', 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '', - 'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh'] + 'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh', + 'ws', 'wss'] uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap', 'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips', 'mms', '', 'sftp', 'tel'] |