Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 1 | -13/+24 |
|\ | |||||
| * | #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 1 | -13/+24 |
| | | | | | | | | | | | | | | | | 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 #22928: Disabled HTTP header injections in http.client. | Serhiy Storchaka | 2015-03-12 | 1 | -0/+37 |
|\ \ | |/ | | | | | Original patch by Demian Brecht. | ||||
| * | Issue #22928: Disabled HTTP header injections in http.client. | Serhiy Storchaka | 2015-03-12 | 1 | -0/+37 |
| | | | | | | | | Original patch by Demian Brecht. | ||||
* | | Issue #23439: Add missing entries to http.client.__all__. | Berker Peksag | 2015-02-20 | 1 | -1/+3 |
|\ \ | |/ | | | | | | | | | | | 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 | -1/+3 |
| | | | | | | | | | | | | | | 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 #13128: Print response headers for CONNECT requests when debuglevel > 0. | Berker Peksag | 2015-02-03 | 1 | -0/+3 |
| | | | | | | | | Patch by Demian Brecht. | ||||
* | | http.client: disable Nagle's algorithm (closes #23302) | Benjamin Peterson | 2015-01-23 | 1 | -21/+4 |
| | | | | | | | | Patch by Demian Brecht. | ||||
* | | Issue #21793: Added http.HTTPStatus enums (i.e. HTTPStatus.OK, | Serhiy Storchaka | 2014-12-23 | 1 | -115/+7 |
| | | | | | | | | HTTPStatus.NOT_FOUND). Patch by Demian Brecht. | ||||
* | | Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port | Serhiy Storchaka | 2014-12-12 | 1 | -5/+3 |
|\ \ | |/ | | | | | value in the host header was set to "None". Patch by Demian Brecht. | ||||
| * | Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port | Serhiy Storchaka | 2014-12-12 | 1 | -5/+3 |
| | | | | | | | | value in the host header was set to "None". Patch by Demian Brecht. | ||||
* | | merge 3.4 (#22959) | Benjamin Peterson | 2014-12-07 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | HTTPSConnection: prefer the context's check_hostname attribute over the ↵ | Benjamin Peterson | 2014-12-07 | 1 | -2/+2 |
| | | | | | | | | constructor parameter (#22959) | ||||
* | | Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails. | Serhiy Storchaka | 2014-12-01 | 1 | -10/+14 |
|\ \ | |/ | | | | | Original patch by Martin Panter. | ||||
| * | Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails. | Serhiy Storchaka | 2014-12-01 | 1 | -10/+14 |
| | | | | | | | | Original patch by Martin Panter. | ||||
* | | merge 3.4 (#22921) | Benjamin Peterson | 2014-11-23 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | don't require OpenSSL SNI to pass hostname to ssl functions (#22921) | Benjamin Peterson | 2014-11-23 | 1 | -2/+1 |
| | | | | | | | | Patch by Donald Stufft. | ||||
* | | merge 3.4 (#22417) | Benjamin Peterson | 2014-11-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | PEP 476: enable HTTPS certificate verification by default (#22417) | Benjamin Peterson | 2014-11-03 | 1 | -1/+1 |
| | | | | | | | | Patch by Alex Gaynor with some modifications by me. | ||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -1/+2 |
| | | | | | | | | class name instead of hardcoded one. | ||||
* | | merge from 3.4 | Senthil Kumaran | 2014-04-14 | 1 | -24/+49 |
|\ \ | |/ | | | | | | | Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel() Patch by Nikolaus Rath. | ||||
| * | Issue #7776: Fix ``Host:'' header and reconnection when using ↵ | Senthil Kumaran | 2014-04-14 | 1 | -24/+49 |
| | | | | | | | | | | | | http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath. | ||||
* | | (Merge 3.4) Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
| | | |||||
* | | Issue #19009 | Kristján Valur Jónsson | 2014-03-19 | 1 | -57/+121 |
|/ | | | | Enhance HTTPResponse.readline() performance | ||||
* | Issue #20007: HTTPResponse.read(0) no more prematurely closes connection. | Serhiy Storchaka | 2013-12-17 | 1 | -1/+1 |
|\ | | | | | | | Original patch by Simon Sapin. | ||||
| * | Issue #20007: HTTPResponse.read(0) no more prematurely closes connection. | Serhiy Storchaka | 2013-12-17 | 1 | -1/+1 |
| | | | | | | | | Original patch by Simon Sapin. | ||||
* | | Issue 19509: Don't call match_hostname() twice in http.client. | Christian Heimes | 2013-12-05 | 1 | -6/+6 |
| | | |||||
* | | Issue #19735: Implement private function ssl._create_stdlib_context() to | Christian Heimes | 2013-11-23 | 1 | -3/+1 |
| | | | | | | | | | | create SSLContext objects in Python's stdlib module. It provides a single configuration point and makes use of SSLContext.load_default_certs(). | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-27 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more than | Georg Brandl | 2013-10-27 | 1 | -0/+4 |
| | | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen. | ||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Issue #16658: add missing return to HTTPConnection.send(). | Andrew Svetlov | 2013-04-12 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Jeff Knupp | ||||
| * | Issue #16658: add missing return to HTTPConnection.send(). | Andrew Svetlov | 2013-04-12 | 1 | -1/+1 |
| | | | | | | | | Patch by Jeff Knupp | ||||
* | | #17460: Remove the strict argument of HTTPConnection and removing the | Senthil Kumaran | 2013-03-18 | 1 | -16/+7 |
| | | | | | | | | DeprecationWarning being issued from 3.2 onwards. | ||||
* | | Issue #16723: httplib.HTTPResponse no longer marked closed when the connection | Serhiy Storchaka | 2013-02-06 | 1 | -17/+21 |
|\ \ | |/ | | | | | is automatically closed. | ||||
| * | Issue #16723: httplib.HTTPResponse no longer marked closed when the connection | Serhiy Storchaka | 2013-02-06 | 1 | -17/+21 |
| |\ | | | | | | | | | | is automatically closed. | ||||
| | * | Issue #16723: httplib.HTTPResponse no longer marked closed when the connection | Serhiy Storchaka | 2013-02-06 | 1 | -15/+19 |
| | | | | | | | | | | | | is automatically closed. | ||||
| | * | Simplify code in HTTPResponse.read() | Antoine Pitrou | 2013-02-02 | 1 | -4/+1 |
| | | | |||||
* | | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵ | Antoine Pitrou | 2013-02-02 | 1 | -5/+10 |
|\ \ \ | |/ / | | | | | | | less than the advertised Content-Length. | ||||
| * | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵ | Antoine Pitrou | 2013-02-02 | 1 | -5/+10 |
| |\ \ | | |/ | | | | | | | less than the advertised Content-Length. | ||||
| | * | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵ | Antoine Pitrou | 2013-02-02 | 1 | -1/+9 |
| | | | | | | | | | | | | less than the advertised Content-Length. | ||||
* | | | Issue #16833: In http.client.HTTPConnection, do not concatenate the request ↵ | Antoine Pitrou | 2013-01-02 | 1 | -2/+13 |
| | | | | | | | | | | | | | | | | | | headers and body when the payload exceeds 16 KB, since it can consume more memory for no benefit. Patch by Benno Leslie. | ||||
* | | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
|/ / | |||||
* | | Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵ | Antoine Pitrou | 2012-12-15 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | | | Content-Length and the incoming stream is finished. Patch by Eran Rundstein. | ||||
| * | Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵ | Antoine Pitrou | 2012-12-15 | 1 | -0/+4 |
| | | | | | | | | | | | | Content-Length and the incoming stream is finished. Patch by Eran Rundstein. | ||||
* | | merge - Fix Issue14721: Send Content-length: 0 for empty body () in the ↵ | Senthil Kumaran | 2012-05-19 | 1 | -1/+1 |
|\ \ | |/ | | | | | http.client requests | ||||
| * | Fix Issue14721: Send Content-length: 0 for empty body () in the http.client ↵ | Senthil Kumaran | 2012-05-19 | 1 | -1/+1 |
| | | | | | | | | requests | ||||
* | | #14809: Add HTTP status codes from RFC 6585 to http.server and http.client | Hynek Schlawack | 2012-05-16 | 1 | -0/+8 |
| | | | | | | | | Patch by EungJun Yi. |