summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] Format None, True, False and NotImplemented as literals (GH-118758) ↵Miss Islington (bot)2024-05-081-1/+1
| | | | | | | (GH-118792) (cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] docs: module page titles should not start with a link to themselves ↵Miss Islington (bot)2024-05-081-2/+2
| | | | | | | | (GH-117099) (#118790) docs: module page titles should not start with a link to themselves (GH-117099) (cherry picked from commit bcb435ee8ff41b5ec5d879ee0b6651f146a66151) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* Fix version directive indents (#117719)Hugo van Kemenade2024-04-121-3/+3
|
* gh-115664: Fix ordering of more versionadded and versionchanged directives ↵Serhiy Storchaka2024-03-071-2/+0
| | | | (GH-116298)
* gh-101100: Fix Sphinx warnings in `howto/urllib2.rst` and ↵Hugo van Kemenade2024-01-141-26/+26
| | | | `library/http.client.rst` (#114060)
* gh-105912: document gotcha with using os.fork on macOS (#112871)Ronald Oussoren2023-12-141-0/+8
| | | | | | | | | | | | | * gh-105912: document gotcha with using os.fork on macOS Using ``fork(2)`` on macOS when also using higher-level system APIs in the parent proces can crash on macOS because those system APIs are not written to handle this usage pattern. There's nothing we can do about this other than documenting the problem. Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* gh-101100: Fix Sphinx warning in references with asterisks (#113029)Hugo van Kemenade2023-12-131-4/+4
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-110631: Fix reST indentation in `Doc/library` (#110685)Ezio Melotti2023-10-111-6/+6
| | | Fix wrong indentation in the Doc/library dir.
* gh-106909: Use role :const: for referencing module constants (GH-106910)Serhiy Storchaka2023-07-211-1/+1
|
* gh-105382: Remove urllib.request cafile parameter (#105384)Victor Stinner2023-06-061-15/+4
| | | | Remove cafile, capath and cadefault parameters of the urllib.request.urlopen() function, deprecated in Python 3.6.
* gh-48241: Clarify URL needs to be encoded when provided to urlopen and ↵Michael Blahay2023-04-261-3/+3
| | | | | | Request (#103855) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Docs: Fix getstatus() -> getcode() typos (#101296)Hugo van Kemenade2023-02-101-1/+1
|
* gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)Christian Heimes2022-08-021-0/+1
| | | | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-051-1/+1
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* bpo-46586: Fix more erroneous doc links to builtins (#31429)Meer Suri2022-05-021-1/+1
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Éric <merwok@netwok.org>
* Add note that headers added via urllib.request.add_header are added to ↵Ashwin Ramaswami2022-04-271-1/+2
| | | | redirected requests (#30708)
* gh-87497: Document that urllib.request sends headers in camel case (GH-24661)Alix Lourme2022-04-141-0/+1
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-40321: Add missing test, slightly expand documentation (GH-28760)Łukasz Langa2021-10-061-2/+6
|
* bpo-40321: Support HTTP response status code 308 in urllib.request (#19588)Jochem Schulenklopper2021-10-061-0/+6
| | | | | | | | | | | * Support HTTP response status code 308 in urllib. HTTP response status code 308 is defined in https://tools.ietf.org/html/rfc7538 to be the permanent redirect variant of 307 (temporary redirect). * Update documentation to include http_error_308() * Add blurb for bpo-40321 fix Co-authored-by: Roland Crosby <roland@rolandcrosby.com>
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515)Serhiy Storchaka2021-09-221-4/+4
| | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com>
* [codemod] Fix non-matching bracket pairs (GH-28473)Mohamad Mansour2021-09-211-1/+1
| | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* 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.