mirror of https://github.com/python/cpython
add support for the sips: scheme (identical to sip: except for scheme name)
This commit is contained in:
parent
d8eaa49092
commit
23fd3d49e9
|
@ -23,9 +23,9 @@ draft!). It supports the following URL schemes:
|
|||
\code{file}, \code{ftp}, \code{gopher}, \code{hdl}, \code{http},
|
||||
\code{https}, \code{imap}, \code{mailto}, \code{mms}, \code{news},
|
||||
\code{nntp}, \code{prospero}, \code{rsync}, \code{rtsp}, \code{rtspu},
|
||||
\code{sftp}, \code{shttp}, \code{sip}, \code{snews}, \code{svn},
|
||||
\code{sftp}, \code{shttp}, \code{sip}, \code{sips}, \code{snews}, \code{svn},
|
||||
\code{svn+ssh}, \code{telnet}, \code{wais}.
|
||||
\versionadded[Support for the \code{sftp} scheme]{2.5}
|
||||
\versionadded[Support for the \code{sftp} and \code{sips} schemes]{2.5}
|
||||
|
||||
The \module{urlparse} module defines the following functions:
|
||||
|
||||
|
|
|
@ -16,12 +16,12 @@ uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
|
|||
'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '',
|
||||
'svn', 'svn+ssh', 'sftp']
|
||||
non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
|
||||
'telnet', 'wais', 'imap', 'snews', 'sip']
|
||||
'telnet', 'wais', 'imap', 'snews', 'sip', 'sips']
|
||||
uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',
|
||||
'https', 'shttp', 'rtsp', 'rtspu', 'sip',
|
||||
'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips',
|
||||
'mms', '', 'sftp']
|
||||
uses_query = ['http', 'wais', 'imap', 'https', 'shttp', 'mms',
|
||||
'gopher', 'rtsp', 'rtspu', 'sip', '']
|
||||
'gopher', 'rtsp', 'rtspu', 'sip', 'sips', '']
|
||||
uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news',
|
||||
'nntp', 'wais', 'https', 'shttp', 'snews',
|
||||
'file', 'prospero', '']
|
||||
|
|
Loading…
Reference in New Issue