summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2013-03-19 01:06:00 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2013-03-19 01:06:00 (GMT)
commit41518b4af04d3cb8b2570b30c9135bffec2aa01f (patch)
treed864f109de46c994ffa7dd8abb21e0133ddec033 /Doc/library/urllib.request.rst
parent80cbc9e99835f3ae72c62999b4852beab76a9017 (diff)
downloadcpython-41518b4af04d3cb8b2570b30c9135bffec2aa01f.zip
cpython-41518b4af04d3cb8b2570b30c9135bffec2aa01f.tar.gz
cpython-41518b4af04d3cb8b2570b30c9135bffec2aa01f.tar.bz2
#17474 - Remove the various deprecated methods of Request class.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r--Doc/library/urllib.request.rst69
1 files changed, 0 insertions, 69 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index d0c8e0e..e235642 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -488,54 +488,6 @@ request.
URL given in the constructor.
-.. method:: Request.add_data(data)
-
- Set the :class:`Request` data to *data*. This is ignored by all handlers except
- HTTP handlers --- and there it should be a byte string, and will change the
- request to be ``POST`` rather than ``GET``. Deprecated in 3.3, use
- :attr:`Request.data`.
-
- .. deprecated:: 3.3
-
-
-.. method:: Request.has_data()
-
- Return whether the instance has a non-\ ``None`` data. Deprecated in 3.3,
- use :attr:`Request.data`.
-
- .. deprecated:: 3.3
-
-
-.. method:: Request.get_data()
-
- Return the instance's data. Deprecated in 3.3, use :attr:`Request.data`.
-
- .. deprecated:: 3.3
-
-
-.. method:: Request.get_type()
-
- Return the type of the URL --- also known as the scheme. Deprecated in 3.3,
- use :attr:`Request.type`.
-
- .. deprecated:: 3.3
-
-
-.. method:: Request.get_host()
-
- Return the host to which a connection will be made. Deprecated in 3.3, use
- :attr:`Request.host`.
-
- .. deprecated:: 3.3
-
-
-.. method:: Request.get_selector()
-
- Return the selector --- the part of the URL that is sent to the server.
- Deprecated in 3.3, use :attr:`Request.selector`.
-
- .. deprecated:: 3.3
-
.. method:: Request.get_header(header_name, default=None)
Return the value of the given header. If the header is not present, return
@@ -546,27 +498,6 @@ request.
Return a list of tuples (header_name, header_value) of the Request headers.
-
-.. method:: Request.set_proxy(host, type)
-
-.. method:: Request.get_origin_req_host()
-
- Return the request-host of the origin transaction, as defined by
- :rfc:`2965`. See the documentation for the :class:`Request` constructor.
- Deprecated in 3.3, use :attr:`Request.origin_req_host`.
-
- .. deprecated:: 3.3
-
-
-.. method:: Request.is_unverifiable()
-
- Return whether the request is unverifiable, as defined by RFC 2965. See the
- documentation for the :class:`Request` constructor. Deprecated in 3.3, use
- :attr:`Request.unverifiable`.
-
- .. deprecated:: 3.3
-
-
.. _opener-director-objects:
OpenerDirector Objects