summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)Mariusz Felisiak2021-07-261-1/+1
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-40968: Send http/1.1 ALPN extension (#20959)Christian Heimes2020-11-131-0/+5
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-40204: Add :noindex: in the documentation (GH-21859)Victor Stinner2020-08-131-1/+1
| | | | | | | | | | Add :noindex: to duplicated documentation to fix "duplicate object description" errors. For example, fix this Sphinx 3 issue: Doc/library/configparser.rst:1146: WARNING: duplicate object description of configparser.ConfigParser.optionxform, other instance in library/configparser, use :noindex: for one of them
* [doc] Add missing space in urllib.request.rst (GH-19860)Sardorbek Imomaliev2020-05-231-1/+1
| | | This is just a typo fix, should I still provide news file?
* Update the URL for the requests package (GH-17006)Simon Legner2019-10-311-1/+1
| | | Change the url from docs.python-requests.org to requests.readthedocs.io
* bpo-12707: deprecate info(), geturl(), getcode() methods in favor of ↵Ashwin Ramaswami2019-09-131-15/+40
| | | | | headers, url, and status properties for HTTPResponse and addinfourl (GH-11447) Co-Authored-By: epicfaace <aramaswamis@gmail.com>
* bpo-37256: Wording in Request class docs (#14792)Ngalim Siregar2019-08-141-1/+1
| | | | | | | | | | * bpo-37256: Wording in Request class docs * 📜🤖 Added by blurb_it. * Update Misc/NEWS.d/next/Documentation/2019-07-16-14-48-12.bpo-37256.qJTrBb.rst Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-271-1/+1
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-1/+1
|
* Fix audit event typo : urllib.request -> urllib.Request (GH-13550)Xtreak2019-05-301-2/+2
| | | | | As per the PEP and the [audit event raised](https://github.com/python/cpython/blob/13d4e6a4a090031f8214e058ed3c8fd47767e05f/Lib/urllib/request.py#L524) in urllib.request this should be `urllib.Request` cc: @zooba
* bpo-36842: Implement PEP 578 (GH-12613)Steve Dower2019-05-231-0/+7
| | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
* bpo-14826: document that URLopener quotes fullurl. (GH-12758)Gregory P. Smith2019-04-101-0/+1
|
* bpo-36064: Clarify allowed data types for urllib.request.Request. (GH-11990)Julien Palard2019-03-291-2/+2
|
* bpo-35155: clarify protocol handler method naming (GH-10313)Denton Liu2019-03-221-19/+39
| | | | | | | Clarify that the naming of protocol handler methods shouldn't be literally called "protocol" but should be named after the actual protocol. https://bugs.python.org/issue35155
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-261-1/+1
|
* bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793)Sebastian Rittau2018-08-171-2/+2
| | | | The http_response() and https_response() methods of the HTTPErrorProcessor class have two required parameters, 'request' and 'response'.
* [master] bpo-33885: Replace "hook function" with "callable" (GH-7765) (#7886)Andrés Delfino2018-06-241-2/+2
| | | | | (cherry picked from commit c45cb479074b5d25f0d382d3109f527520a9f03c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33641: Convert RFC references into links. (GH-7103)Serhiy Storchaka2018-05-311-2/+2
| | | | 85% of them are already links.
* bpo-25910: Link redirections in docs (#1933)Sanyam Khurana2018-01-201-1/+1
| | | Fixes some redirection links in docs.
* Issues #29189: Merge indentation fixes from 3.5Martin Panter2017-01-241-39/+39
|\
| * Issue #29189: Fix indentation in RST markupMartin Panter2017-01-241-39/+39
| |
* | Merge from 3.5Andrew Kuchling2016-11-091-1/+1
|\ \ | |/
| * Use http instead of https, due to certificate errorAndrew Kuchling2016-11-091-1/+1
| |
* | Merge from 3.5Andrew Kuchling2016-11-091-1/+1
|\ \ | |/
| * Update URL for requests documentation after IRC requestAndrew Kuchling2016-11-091-1/+1
| |
* | Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
|\ \ | |/
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
| |
* | Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.Christian Heimes2016-09-101-0/+6
| | | | | | | | | | | | | | The deprecation include manual creation of SSLSocket and certfile/keyfile (or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib. ssl.wrap_socket() is not marked as deprecated yet.
* | Issue #12319: Always send file request bodies using chunked encodingMartin Panter2016-08-271-8/+7
| | | | | | | | | | | | | | The previous attempt to determine the file’s Content-Length gave a false positive for pipes on Windows. Also, drop the special case for sending zero-length iterable bodies.
* | Issue #12319: Support for chunked encoding of HTTP request bodiesMartin Panter2016-08-241-23/+37
|/ | | | | | | | | | | | | | | When the body object is a file, its size is no longer determined with fstat(), since that can report the wrong result (e.g. reading from a pipe). Instead, determine the size using seek(), or fall back to chunked encoding for unseekable files. Also, change the logic for detecting text files to check for TextIOBase inheritance, rather than inspecting the “mode” attribute, which may not exist (e.g. BytesIO and StringIO). The Content-Length for text files is no longer determined ahead of time, because the original logic could have been wrong depending on the codec and newline translation settings. Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
* [merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)Senthil Kumaran2016-07-311-0/+15
|\ | | | | | | | | | | | | Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates that the script is in CGI mode. Issue #27568 Reported and patch contributed by Rémi Rampin.
| * [merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)Senthil Kumaran2016-07-311-0/+13
| |\ | | | | | | | | | | | | | | | | | | Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates that the script is in CGI mode. Issue #27568 Reported and patch contributed by Rémi Rampin.
| | * Prevent HTTPoxy attack (CVE-2016-1000110)Senthil Kumaran2016-07-311-0/+13
| | | | | | | | | | | | | | | | | | | | | Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates that the script is in CGI mode. Issue #27568 Reported and patch contributed by Rémi Rampin.
* | | English spelling and grammar fixesMartin Panter2016-07-111-1/+1
| | |
* | | Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+4
| | | | | | | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | | Fix typos in code comment and documentationMartin Panter2016-06-041-1/+1
| | |
* | | #22797: clarify when URLErrors are raised by urlopen.R David Murray2016-06-031-1/+1
| | |
* | | Issue #25570: Add example of customizing User-Agent via add_header()Martin Panter2016-06-011-1/+6
| | |
* | | Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URLMartin Panter2016-05-281-7/+7
| | | | | | | | | | | | Patch by Anish Shah and Aatish Neupane.
* | | Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-1/+1
| | | | | | | | | | | | Original patch by James Edwards.
* | | Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-2/+2
| | |
* | | Issue #26804: urllib.request will prefer lower_case proxy environment variablesSenthil Kumaran2016-04-251-0/+2
| | | | | | | | | | | | | | | | | | over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
* | | Issue23806 - Document the no_proxy environment variable in Python 3 docs.Senthil Kumaran2016-04-231-0/+5
| | |
* | | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-1/+1
| | | | | | | | | | | | to SilentGhost for the patch.
* | | Issue #22989, #21228: Merge urlopen() doc from 3.4 into 3.5Martin Panter2015-11-261-7/+13
|\ \ \ | |/ /
| * | Issues #22989, #21228: Document HTTP response object for urlopen()Martin Panter2015-11-261-7/+13
| | | | | | | | | | | | | | | | | | Previous documentation was not clear if the geturl(), info() and getcode() were valid for HTTP responses. The “msg” attribute is different to the usual HTTPResponse.msg attribute. Based on patch by Evens Fortuné.
* | | Issue #25576: Merge www-form-urlencoded doc from 3.4 into 3.5Martin Panter2015-11-241-23/+8
|\ \ \ | |/ /
| * | Issue #25576: Remove application/x-www-form-urlencoded charset adviceMartin Panter2015-11-241-23/+8
| | | | | | | | | | | | | | | No charset parameter is standardized for this Content-Type value. Also clarify that urlencode() outputs ASCII.
* | | Merge typo and grammar fixes from 3.4 into 3.5Martin Panter2015-11-141-1/+1
|\ \ \ | |/ /
| * | Correct Content-Type syntax in documentationMartin Panter2015-11-141-1/+1
| | |