mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Document supported schemes.
This commit is contained in:
parent
23929f2828
commit
1de37002bf
1 changed files with 7 additions and 2 deletions
|
@ -19,9 +19,14 @@ string, and to convert a ``relative URL'' to an absolute URL given a
|
|||
|
||||
The module has been designed to match the Internet RFC on Relative
|
||||
Uniform Resource Locators (and discovered a bug in an earlier
|
||||
draft!).
|
||||
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{svn+ssh}, \code{telnet}, \code{wais}.
|
||||
|
||||
It defines the following functions:
|
||||
The \module{urlparse} module defines the following functions:
|
||||
|
||||
\begin{funcdesc}{urlparse}{urlstring\optional{, default_scheme\optional{, allow_fragments}}}
|
||||
Parse a URL into 6 components, returning a 6-tuple: (addressing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue