aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_httplib.py
Commit message (Collapse)AuthorAge
...
| * Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-17
| | | | | | | | Original patch by Simon Sapin.
* | merge with 3.3Georg Brandl2013-10-27
|\|
| * Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more thanGeorg Brandl2013-10-27
| | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen.
* | Issue #18743: Fix references to non-existant "StringIO" moduleSerhiy Storchaka2013-08-29
|\| | | | | | | in docstrings and comments.
| * Issue #18743: Fix references to non-existant "StringIO" moduleSerhiy Storchaka2013-08-29
| | | | | | | | in docstrings and comments.
* | Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-12
|\| | | | | | | Patch by Jeff Knupp
| * Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-12
| | | | | | | | Patch by Jeff Knupp
* | Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-06
|\| | | | | | | is automatically closed.
| * Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-06
| |\ | | | | | | | | | is automatically closed.
| | * Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-06
| | | | | | | | | | | | is automatically closed.
* | | Issue #17107: Test client-side SNI support in urllib.request thanks to the ↵Antoine Pitrou2013-02-05
| | | | | | | | | | | | | | | | | | 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-02
|\| | | | | | | | | | | less than the advertised Content-Length.
| * | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-02
| |\| | | | | | | | | | less than the advertised Content-Length.
| | * Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-02
| | | | | | | | | | | | less than the advertised Content-Length.
* | | Issue #16833: In http.client.HTTPConnection, do not concatenate the request ↵Antoine Pitrou2013-01-02
| | | | | | | | | | | | | | | | | | 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-18
|/ /
* | Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵Antoine Pitrou2012-12-15
|\| | | | | | | | | | | 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-15
| | | | | | | | | | | | 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 Kumaran2012-05-19
|\| | | | | | | http.client requests
| * Fix Issue14721: Send Content-length: 0 for empty body () in the http.client ↵Senthil Kumaran2012-05-19
| | | | | | | | requests
* | httplib test for early eof response. related to Issue13684Senthil Kumaran2012-04-29
|\|
| * httplib test for early eof response. related to Issue13684Senthil Kumaran2012-04-29
| |
* | Issue #13713: fix a regression in HTTP chunked reading after 806cfe39f729Antoine Pitrou2012-01-04
| | | | | | | | (originally issue #13464: Add a readinto() method to http.client.HTTPResponse)
* | Issue #13464: Add a readinto() method to http.client.HTTPResponse.Antoine Pitrou2011-12-06
| | | | | | | | Patch by Jon Kuhn.
* | Issue #10860: Skip the new test if HTTPS is not availablePetri Lehtinen2011-10-26
|\|
| * Issue #10860: Skip the new test if HTTPS is not availablePetri Lehtinen2011-10-26
| |
* | Merged fix for #10860 from 3.2Łukasz Langa2011-10-19
|\|
| * Fixes #10860: Handle empty port after port delimiter in httplibŁukasz Langa2011-10-18
| |
* | Merge 3.2: test_httplib removes temporary filesVictor Stinner2011-09-21
|\|
| * test_httplib removes temporary filesVictor Stinner2011-09-21
| |
* | Silence the altered state warning about threadgs when running test_httplib.Brett Cannon2011-08-04
|/
* Fix closes Issue12676 - Invalid identifier used in TypeError message in ↵Senthil Kumaran2011-08-02
| | | | | | http.client. Reported by Popa Claudiu and Patch by Santoso Wijaya.
* Issue 10825: Minor updates to the test suite.Raymond Hettinger2011-01-06
|
* test_httplib: fix a DeprecationWarning, assertEquals=>assertEqualVictor Stinner2011-01-04
|
* Issue3243 - Support iterable bodies in httplib. Patch contributions by ↵Senthil Kumaran2010-12-19
| | | | Xuanji Li and Chris AtLee.
* Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by ↵Senthil Kumaran2010-12-18
| | | | Antoine Pitrou
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-20
|
* Fix Issue5111 - Wrap the Ipv6 host with [] in the Host headerSenthil Kumaran2010-11-13
|
* Move test_httplib over to file context managers.Brett Cannon2010-10-29
|
* Issue #9003: http.client.HTTPSConnection, urllib.request.HTTPSHandler andAntoine Pitrou2010-10-13
| | | | | urllib.request.urlopen now take optional arguments to allow for server certificate checking, as recommended in public uses of HTTPS.
* Remove the debugging print line from the test.Senthil Kumaran2010-10-04
|
* Fix Issue10012 - httplib headers, which are (sometimes mistakenly) int are ↵Senthil Kumaran2010-10-03
| | | | explicitly cast to str (bytes - in py3k).
* Fix Issue8572 - httplib getheader() throws error instead of defaultSenthil Kumaran2010-08-02
|
* Merged revisions 81691 via svnmerge fromSenthil Kumaran2010-06-04
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81691 | senthil.kumaran | 2010-06-04 22:47:09 +0530 (Fri, 04 Jun 2010) | 3 lines test verifying the resp object is closed for HEAD response. ........
* Merged revisions 80583 via svnmerge fromSenthil Kumaran2010-04-28
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80583 | senthil.kumaran | 2010-04-28 22:50:43 +0530 (Wed, 28 Apr 2010) | 3 lines Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked" ........
* Merged revisions 78417 via svnmerge fromBenjamin Peterson2010-03-21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78417 | dirkjan.ochtman | 2010-02-23 22:49:00 -0600 (Tue, 23 Feb 2010) | 1 line Issue #7427: improve the representation of httplib.BadStatusLine exceptions. ........
* Merged revisions 77263-77264 via svnmerge fromGregory P. Smith2010-01-03
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77263 | gregory.p.smith | 2010-01-02 17:29:44 -0800 (Sat, 02 Jan 2010) | 4 lines Adds an optional source_address parameter to socket.create_connection(). For use by issue3972. ........ r77264 | gregory.p.smith | 2010-01-02 18:06:07 -0800 (Sat, 02 Jan 2010) | 5 lines issue3972: HTTPConnection and HTTPSConnection now support a source_address parameter. Also cleans up an annotation in the socket documentation. ........
* [NOTE: the original bug doesn't exist in py3k but this adds Kirk's tests and ↵Antoine Pitrou2009-09-29
| | | | | | | | | | | | | | | | | fixes another bug in the process] Merged revisions 75134 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75134 | antoine.pitrou | 2009-09-29 19:48:18 +0200 (mar., 29 sept. 2009) | 4 lines Issue #6790: Make it possible again to pass an `array.array` to `httplib.HTTPConnection.send`. Patch by Kirk McDonald. ........
* convert old fail* assertions to assert*Benjamin Peterson2009-06-30
|
* Remove special logic that closes HTTPConnection socket on EPIPE.Jeremy Hylton2009-03-28
| | | | | | | | | | http://bugs.python.org/issue5542 If the socket is closed, the client has no chance to read the response from the server. EPIPE means that it isn't possible to write more data from the socket, but not that it is impossible to read. Also, various formatting changes.