diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2013-03-19 00:09:50 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2013-03-19 00:09:50 (GMT) |
commit | 6227c6952e5b9ab4c41f027b5e971b6812e24efa (patch) | |
tree | 874c8e88ef92178527f14279800cf6ddf71d882c /Doc/library/urllib.request.rst | |
parent | f5752309813368f1a511d79c8b64a0888245932a (diff) | |
download | cpython-6227c6952e5b9ab4c41f027b5e971b6812e24efa.zip cpython-6227c6952e5b9ab4c41f027b5e971b6812e24efa.tar.gz cpython-6227c6952e5b9ab4c41f027b5e971b6812e24efa.tar.bz2 |
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r-- | Doc/library/urllib.request.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 2cf1304..3aaf2c2 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -1274,6 +1274,8 @@ some point in the future. .. class:: URLopener(proxies=None, **x509) + .. deprecated:: 3.3 + Base class for opening and reading URLs. Unless you need to support opening objects using schemes other than :file:`http:`, :file:`ftp:`, or :file:`file:`, you probably want to use :class:`FancyURLopener`. @@ -1343,6 +1345,8 @@ some point in the future. .. class:: FancyURLopener(...) + .. deprecated:: 3.3 + :class:`FancyURLopener` subclasses :class:`URLopener` providing default handling for the following HTTP response codes: 301, 302, 303, 307 and 401. For the 30x response codes listed above, the :mailheader:`Location` header is used to fetch |