summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2013-03-19 00:10:45 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2013-03-19 00:10:45 (GMT)
commit7f6d79721d58962cb7914e8d8f4f5f717a8de8c0 (patch)
treeb3364709e76cc6b93adb928ee69356a0a5329d44 /Doc/library
parent45c9704b739985fe2355fa812f4d9ef75279aa4b (diff)
parent6227c6952e5b9ab4c41f027b5e971b6812e24efa (diff)
downloadcpython-7f6d79721d58962cb7914e8d8f4f5f717a8de8c0.zip
cpython-7f6d79721d58962cb7914e8d8f4f5f717a8de8c0.tar.gz
cpython-7f6d79721d58962cb7914e8d8f4f5f717a8de8c0.tar.bz2
#10050 : merge to default
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/urllib.request.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 16efdf1..d0c8e0e 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -1306,6 +1306,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`.
@@ -1375,6 +1377,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