Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -1/+1 |
| | | | | collections. (#1263) | ||||
* | Merge from 3.5 | Andrew Kuchling | 2016-11-09 | 1 | -1/+1 |
|\ | |||||
| * | Use http instead of https, due to certificate error | Andrew Kuchling | 2016-11-09 | 1 | -1/+1 |
| | | |||||
* | | Merge from 3.5 | Andrew Kuchling | 2016-11-09 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Update URL for requests documentation after IRC request | Andrew Kuchling | 2016-11-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. | Christian Heimes | 2016-09-10 | 1 | -7/+11 |
| | | | | | | | | | | | | | | 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. | ||||
* | | [merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest | Senthil Kumaran | 2016-09-08 | 1 | -15/+9 |
|\ \ | |/ | | | | | documentation consistent with the code. | ||||
| * | Issue28010 - Make http.client.HTTPConnection.putrequest documentation ↵ | Senthil Kumaran | 2016-09-08 | 1 | -15/+9 |
| | | | | | | | | consistent with the code. | ||||
* | | Issue #12319: Always send file request bodies using chunked encoding | Martin Panter | 2016-08-27 | 1 | -16/+15 |
| | | | | | | | | | | | | | | 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 bodies | Martin Panter | 2016-08-24 | 1 | -28/+70 |
|/ | | | | | | | | | | | | | | | 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. | ||||
* | Correct misspellings of ISO-8859 | Martin Panter | 2016-08-10 | 1 | -2/+2 |
| | |||||
* | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -2/+1 |
| | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi. | ||||
* | Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL | Martin Panter | 2016-05-28 | 1 | -1/+1 |
| | | | | Patch by Anish Shah and Aatish Neupane. | ||||
* | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 1 | -1/+1 |
| | | | | Original patch by James Edwards. | ||||
* | Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost | Martin Panter | 2016-03-17 | 1 | -0/+4 |
| | |||||
* | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵ | Georg Brandl | 2016-02-26 | 1 | -1/+1 |
| | | | | to SilentGhost for the patch. | ||||
* | merge 3.4 (#24118) | Benjamin Peterson | 2015-05-03 | 1 | -6/+6 |
|\ | |||||
| * | update example, since python.org is HTTPS-only now (closes #24118) | Benjamin Peterson | 2015-05-03 | 1 | -6/+6 |
| | | |||||
* | | merge 3.4 (#23989) | Benjamin Peterson | 2015-04-20 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | recommend requests library (closes #23989) | Benjamin Peterson | 2015-04-20 | 1 | -0/+5 |
| | | | | | | | | Patch from Van Lindberg | ||||
* | | #3566: Clean up handling of remote server disconnects. | R David Murray | 2015-04-05 | 1 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset does two things: introduces a new RemoteDisconnected exception (that subclasses ConnectionResetError and BadStatusLine) so that a remote server disconnection can be detected by client code (and provides a better error message for debugging purposes), and ensures that the client socket is closed if a ConnectionError happens, so that the automatic re-connection code can work if the application handles the error and continues on. Tests are added that confirm that a connection is re-used or not re-used as appropriate to the various combinations of protocol version and headers. Patch by Martin Panter, reviewed by Demian Brecht. (Tweaked only slightly by me.) | ||||
* | | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 1 | -13/+23 |
|\ \ | |/ | |||||
| * | #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 1 | -13/+23 |
| | | | | | | | | | | | | | | | | Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me. | ||||
* | | Issue #23439: Add missing entries to http.client.__all__. | Berker Peksag | 2015-02-20 | 1 | -0/+6 |
|\ \ | |/ | | | | | | | | | | | Also, document the LineTooLong exception since it can be raised by the members of public API (e.g. http.client.HTTPResponse). Patch by Martin Panter. | ||||
| * | Issue #23439: Add missing entries to http.client.__all__. | Berker Peksag | 2015-02-20 | 1 | -0/+6 |
| | | | | | | | | | | | | | | Also, document the LineTooLong exception since it can be raised by the members of public API (e.g. http.client.HTTPResponse). Patch by Martin Panter. | ||||
* | | Issue #20898: Add a "HTTP status codes" section to avoid duplication in HTTP ↵ | Berker Peksag | 2015-01-20 | 1 | -209/+3 |
|/ | | | | | | | | | docs. This commit also removes a couple of non-standard status codes. They were added as part of edf669b13482, so there is no backwards compatibility issue. Patch by Demian Brecht. | ||||
* | fix reference by adding module name | Benjamin Peterson | 2014-12-07 | 1 | -1/+1 |
| | |||||
* | HTTPSConnection: prefer the context's check_hostname attribute over the ↵ | Benjamin Peterson | 2014-12-07 | 1 | -8/+3 |
| | | | | constructor parameter (#22959) | ||||
* | PEP 476: enable HTTPS certificate verification by default (#22417) | Benjamin Peterson | 2014-11-03 | 1 | -6/+6 |
| | | | | Patch by Alex Gaynor with some modifications by me. | ||||
* | Correct the URL in the http.client example. Noted by Evens Fortuné. Closes ↵ | Senthil Kumaran | 2014-04-17 | 1 | -1/+1 |
| | | | | #21229 | ||||
* | Issue #20913: improve the SSL security considerations to first advocate ↵ | Antoine Pitrou | 2014-03-22 | 1 | -17/+21 |
| | | | | using create_default_context(). | ||||
* | merge 3.3 (#11448) | Benjamin Peterson | 2014-03-16 | 1 | -4/+18 |
|\ | |||||
| * | improve set_tunnel docs (closes #11448) | Benjamin Peterson | 2014-03-16 | 1 | -4/+18 |
| | | | | | | | | Patch by Ryan Kelly, karl, and Nikolaus Rath. | ||||
* | | whatsnew: deprecation of HTTPConnection's strict parameter. | R David Murray | 2014-01-03 | 1 | -6/+6 |
| | | |||||
* | | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -1/+1 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-10-27 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more than | Georg Brandl | 2013-10-27 | 1 | -1/+1 |
| | | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix minor bug in httplib example. Found by Alex MacAulay on docs@. | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
| | | |||||
* | | #17460 - merge from 3.3 | Senthil Kumaran | 2013-03-19 | 1 | -0/+12 |
|\ \ | |/ | |||||
| * | #17460 - merge from 3.2 | Senthil Kumaran | 2013-03-19 | 1 | -3/+3 |
| |\ | |||||
| | * | #17460 - Adding relevant warning messages regarding strict removal in docs | Senthil Kumaran | 2013-03-19 | 1 | -3/+3 |
| | | | |||||
* | | | #17460: Remove the strict argument of HTTPConnection and removing the | Senthil Kumaran | 2013-03-18 | 1 | -15/+3 |
|/ / | | | | | | | DeprecationWarning being issued from 3.2 onwards. | ||||
* | | #17307 - merge from 3.2 | Senthil Kumaran | 2013-03-13 | 1 | -0/+18 |
|\ \ | |/ | |||||
| * | #17307 - Example of HTTP PUT Request using http.client | Senthil Kumaran | 2013-03-13 | 1 | -0/+16 |
| | | |||||
* | | #15831: merge with 3.2 | Ezio Melotti | 2012-09-14 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | #15831: document multiple signatures on different lines. Patch by Chris ↵ | Ezio Melotti | 2012-09-14 | 1 | -2/+6 |
| | | | | | | | | Jerdonek. | ||||
* | | Avoid useless indentation. | Georg Brandl | 2012-05-21 | 1 | -2/+2 |
| | | |||||
* | | #14809: Add HTTP status codes from RFC 6585 to http.server and http.client | Hynek Schlawack | 2012-05-16 | 1 | -0/+15 |
| | | | | | | | | Patch by EungJun Yi. |