diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2013-05-24 16:14:12 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2013-05-24 16:14:12 (GMT) |
commit | 8307075ce870375f1d1f7344972f78f9c42b39e8 (patch) | |
tree | 19fd346ea71cf5fdfed95c5b99a96ffc4cce973a /Doc | |
parent | dc3e6cc452a2a4409a4d12804fab4e474abbf9ff (diff) | |
download | cpython-8307075ce870375f1d1f7344972f78f9c42b39e8.zip cpython-8307075ce870375f1d1f7344972f78f9c42b39e8.tar.gz cpython-8307075ce870375f1d1f7344972f78f9c42b39e8.tar.bz2 |
Fix #17272 - Make Request.full_url and Request.get_full_url return same result under all circumstances.
Document the change of Request.full_url to a property.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/urllib.request.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 055cc82..91673f4 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -396,6 +396,12 @@ request. The original URL passed to the constructor. + .. versionchanged:: 3.4 + + Request.full_url is a property with setter, getter and a deleter. Getting + :attr:`~Request.full_url` returns the original request URL with the + fragment, if it was present. + .. attribute:: Request.type The URI scheme. @@ -482,6 +488,10 @@ request. Return the URL given in the constructor. + .. versionchanged:: 3.4 + + Returns :attr:`Request.full_url` + .. method:: Request.set_proxy(host, type) |