Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | merge with 3.2 | Sandro Tosi | 2011-12-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix to sent/send typo | Sandro Tosi | 2011-12-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #13464: Add a readinto() method to http.client.HTTPResponse. | Antoine Pitrou | 2011-12-06 | 1 | -0/+6 |
|/ | | | | Patch by Jon Kuhn. | ||||
* | Remove duplication. | Ezio Melotti | 2011-10-19 | 1 | -1/+1 |
| | |||||
* | Issue #13073 - Address the review comments made by Ezio. | Senthil Kumaran | 2011-10-05 | 1 | -5/+4 |
| | |||||
* | Document message_body arg in HTTPConnection.endheaders | Senthil Kumaran | 2011-10-02 | 1 | -2/+6 |
| | |||||
* | Fix closes issue12524 - update http.client POST example with a working example. | Senthil Kumaran | 2011-07-20 | 1 | -4/+6 |
| | |||||
* | Whitespace nit fixed using reident. | Senthil Kumaran | 2011-06-19 | 1 | -1/+1 |
| | |||||
* | Fix closes Issue12315 - Updates to http.client documentation. | Senthil Kumaran | 2011-06-19 | 1 | -1/+12 |
| | |||||
* | Typos. | Raymond Hettinger | 2011-01-30 | 1 | -2/+2 |
| | |||||
* | More source links | Raymond Hettinger | 2011-01-27 | 1 | -0/+4 |
| | |||||
* | #3243 follow-up: remove debugging print and fix docs; data is a bytes object.v3.2b2 | Georg Brandl | 2010-12-19 | 1 | -1/+1 |
| | |||||
* | Issue3243 - Support iterable bodies in httplib. Patch contributions by ↵ | Senthil Kumaran | 2010-12-19 | 1 | -4/+8 |
| | | | | Xuanji Li and Chris AtLee. | ||||
* | Issue #10711: Remove HTTP 0.9 support from http.client. The `strict` | Antoine Pitrou | 2010-12-17 | 1 | -7/+16 |
| | | | | parameter to HTTPConnection and friends is deprecated. | ||||
* | #10705: document what the values of debuglevel are and mean. | R. David Murray | 2010-12-15 | 1 | -2/+4 |
| | |||||
* | Issue #5639: Add a *server_hostname* argument to `SSLContext.wrap_socket` | Antoine Pitrou | 2010-10-22 | 1 | -0/+4 |
| | | | | | | in order to support the TLS SNI extension. `HTTPSConnection` and `urlopen()` also use this argument, so that HTTPS virtual hosts are now supported. |