summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge 3.4 (httplib)Victor Stinner2015-02-271-0/+3
|\ \ | |/
| * Issue #23526: Fix ResourceWarning in test_httplib. Patch written by Alex Shkop.Victor Stinner2015-02-271-0/+3
| |
* | Issue #23442: Rename two member names to stay backward compatibleBerker Peksag2015-02-201-0/+61
| | | | | | | | | | | | with the constants in http.client. Initial patch by Demian Brecht.
* | Issue #23439: Add missing entries to http.client.__all__.Berker Peksag2015-02-201-0/+15
|\ \ | |/ | | | | | | | | | | 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 Peksag2015-02-201-0/+15
| | | | | | | | | | | | | | 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 Peksag2015-02-031-5/+18
| | | | | | | | Patch by Demian Brecht.
* | merge 3.4 (#19996)Benjamin Peterson2015-01-261-0/+10
|\ \ | |/
| * handle headers with no key (closes #19996)Benjamin Peterson2015-01-261-0/+10
| | | | | | | | Patch by Cory Benfield.
* | merge from 3.4Senthil Kumaran2015-01-251-25/+42
|\ \ | |/ | | | | | | | | | | Increase http.client.HTTPConnection test coverage. Added a new tunnel test to verify setting of _tunnel_host, _tunnel_port, _tunnel_headers attributes on HTTPConnection object.
| * Increase http.client.HTTPConnection test coverage.Senthil Kumaran2015-01-251-25/+42
| | | | | | | | | | Added a new tunnel test to verify setting of _tunnel_host, _tunnel_port, _tunnel_headers attributes on HTTPConnection object.
* | http.client: disable Nagle's algorithm (closes #23302)Benjamin Peterson2015-01-231-22/+3
| | | | | | | | Patch by Demian Brecht.
* | merge 3.4Benjamin Peterson2014-12-131-0/+1
|\ \ | |/
| * make sure server threads get cleaned upBenjamin Peterson2014-12-131-0/+1
| |
* | Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The portSerhiy Storchaka2014-12-121-3/+5
|\ \ | |/ | | | | value in the host header was set to "None". Patch by Demian Brecht.
| * Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The portSerhiy Storchaka2014-12-121-3/+5
| | | | | | | | value in the host header was set to "None". Patch by Demian Brecht.
* | merge 3.4 (#22959)Benjamin Peterson2014-12-071-0/+14
|\ \ | |/
| * HTTPSConnection: prefer the context's check_hostname attribute over the ↵Benjamin Peterson2014-12-071-0/+14
| | | | | | | | constructor parameter (#22959)
* | Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.Serhiy Storchaka2014-12-011-1/+21
|\ \ | |/ | | | | Original patch by Martin Panter.
| * Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.Serhiy Storchaka2014-12-011-1/+24
| | | | | | | | Original patch by Martin Panter.
* | merge 3.4Benjamin Peterson2014-11-261-0/+1
|\ \ | |/
| * don't fail tests when www.python.org can't be validated by the systemBenjamin Peterson2014-11-251-0/+1
| |
* | merge with 3.4Georg Brandl2014-11-051-12/+8
|\ \ | |/
| * test_httplib: use self-signed.pythontest.net for verification test with ↵Georg Brandl2014-11-051-12/+8
| | | | | | | | non-root-CA cert
* | merge 3.4 (#22417)Benjamin Peterson2014-11-031-9/+40
|\ \ | |/
| * PEP 476: enable HTTPS certificate verification by default (#22417)Benjamin Peterson2014-11-031-9/+40
| | | | | | | | Patch by Alex Gaynor with some modifications by me.
* | Issue #21566: Make use of socket.listen() default backlog.Charles-François Natali2014-07-231-2/+2
| |
* | merge from 3.4Senthil Kumaran2014-04-141-2/+48
|\ \ | |/ | | | | | | 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 Kumaran2014-04-141-2/+48
| | | | | | | | | | | | http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
* | Issue #19009Kristján Valur Jónsson2014-03-191-34/+269
|/ | | | Enhance HTTPResponse.readline() performance
* Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-3/+3
|\ | | | | | | tests.
| * Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-3/+3
| | | | | | | | tests.
* | Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-171-0/+3
|\ \ | |/ | | | | Original patch by Simon Sapin.
| * Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-171-0/+3
| | | | | | | | Original patch by Simon Sapin.
* | merge with 3.3Georg Brandl2013-10-271-0/+9
|\ \ | |/
| * Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more thanGeorg Brandl2013-10-271-0/+9
| | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen.
* | Issue #18743: Fix references to non-existant "StringIO" moduleSerhiy Storchaka2013-08-291-4/+4
|\ \ | |/ | | | | in docstrings and comments.
| * Issue #18743: Fix references to non-existant "StringIO" moduleSerhiy Storchaka2013-08-291-4/+4
| | | | | | | | in docstrings and comments.
* | Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-121-0/+21
|\ \ | |/ | | | | Patch by Jeff Knupp
| * Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-121-0/+21
| | | | | | | | Patch by Jeff Knupp
* | Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-0/+24
|\ \ | |/ | | | | is automatically closed.
| * Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-0/+24
| |\ | | | | | | | | | is automatically closed.
| | * Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-0/+18
| | | | | | | | | | | | is automatically closed.
* | | Issue #17107: Test client-side SNI support in urllib.request thanks to the ↵Antoine Pitrou2013-02-051-1/+1
| | | | | | | | | | | | | | | | | | new server-side SNI support in the ssl module. Initial patch by Daniel Black.
* | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-3/+34
|\ \ \ | |/ / | | | | | | less than the advertised Content-Length.
| * | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-3/+34
| |\ \ | | |/ | | | | | | less than the advertised Content-Length.
| | * Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-3/+15
| | | | | | | | | | | | less than the advertised Content-Length.
* | | Issue #16833: In http.client.HTTPConnection, do not concatenate the request ↵Antoine Pitrou2013-01-021-0/+24
| | | | | | | | | | | | | | | | | | 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 OSErrorAndrew Svetlov2012-12-181-2/+2
|/ /
* | Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵Antoine Pitrou2012-12-151-2/+34
|\ \ | |/ | | | | | | | | 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 Pitrou2012-12-151-1/+14
| | | | | | | | | | | | Content-Length and the incoming stream is finished. Patch by Eran Rundstein.