summaryrefslogtreecommitdiffstats
path: root/Lib/http/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-171-1/+1
|\ | | | | | | Original patch by Simon Sapin.
| * Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.Serhiy Storchaka2013-12-171-1/+1
| | | | | | | | Original patch by Simon Sapin.
* | Issue 19509: Don't call match_hostname() twice in http.client.Christian Heimes2013-12-051-6/+6
| |
* | Issue #19735: Implement private function ssl._create_stdlib_context() toChristian Heimes2013-11-231-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.3Georg Brandl2013-10-271-0/+4
|\ \ | |/
| * Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more thanGeorg Brandl2013-10-271-0/+4
| | | | | | | | 100 headers are read. Adapted from patch by Jyrki Pulliainen.
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | | | | | ModuleNotFoundError.
* | Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-121-1/+1
|\ \ | |/ | | | | Patch by Jeff Knupp
| * Issue #16658: add missing return to HTTPConnection.send().Andrew Svetlov2013-04-121-1/+1
| | | | | | | | Patch by Jeff Knupp
* | #17460: Remove the strict argument of HTTPConnection and removing theSenthil Kumaran2013-03-181-16/+7
| | | | | | | | DeprecationWarning being issued from 3.2 onwards.
* | Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-17/+21
|\ \ | |/ | | | | is automatically closed.
| * Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-17/+21
| |\ | | | | | | | | | is automatically closed.
| | * Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-15/+19
| | | | | | | | | | | | is automatically closed.
| | * Simplify code in HTTPResponse.read()Antoine Pitrou2013-02-021-4/+1
| | |
* | | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-5/+10
|\ \ \ | |/ / | | | | | | less than the advertised Content-Length.
| * | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-5/+10
| |\ \ | | |/ | | | | | | less than the advertised Content-Length.
| | * Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-1/+9
| | | | | | | | | | | | less than the advertised Content-Length.
* | | Issue #16833: In http.client.HTTPConnection, do not concatenate the request ↵Antoine Pitrou2013-01-021-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 OSErrorAndrew Svetlov2012-12-181-2/+2
|/ /
* | Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵Antoine Pitrou2012-12-151-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 Pitrou2012-12-151-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 Kumaran2012-05-191-1/+1
|\ \ | |/ | | | | http.client requests
| * Fix Issue14721: Send Content-length: 0 for empty body () in the http.client ↵Senthil Kumaran2012-05-191-1/+1
| | | | | | | | requests
* | #14809: Add HTTP status codes from RFC 6585 to http.server and http.clientHynek Schlawack2012-05-161-0/+8
| | | | | | | | Patch by EungJun Yi.
* | httplib - minor update to check empty responseSenthil Kumaran2012-04-291-2/+2
|\ \ | |/
| * httplib - minor update to check empty responseSenthil Kumaran2012-04-291-2/+2
| |
* | 3.2 - Fix for Issue13684 - httplib tunnel infinite loopSenthil Kumaran2012-04-231-0/+3
|\ \ | |/
| * 3.2 - Fix for Issue13684 - httplib tunnel infinite loopSenthil Kumaran2012-04-231-0/+3
| |
* | Issue #13713: fix a regression in HTTP chunked reading after 806cfe39f729Antoine Pitrou2012-01-041-2/+2
| | | | | | | | (originally issue #13464: Add a readinto() method to http.client.HTTPResponse)
* | Fix dangling whitespaceAntoine Pitrou2011-12-061-1/+1
| |
* | Issue #13464: Add a readinto() method to http.client.HTTPResponse.Antoine Pitrou2011-12-061-46/+117
| | | | | | | | Patch by Jon Kuhn.
* | Merged fix for #10860 from 3.2Łukasz Langa2011-10-191-1/+4
|\ \ | |/
| * Fixes #10860: Handle empty port after port delimiter in httplibŁukasz Langa2011-10-181-1/+4
| |
* | merge from 3.2. Issue #13073 - Address the review comments made by Ezio.Senthil Kumaran2011-10-051-5/+5
|\ \ | |/
| * Issue #13073 - Address the review comments made by Ezio.Senthil Kumaran2011-10-051-5/+5
| |
* | Merge with 3.2.Georg Brandl2011-08-031-2/+2
|\ \ | |/
| * Fix spacing in string literal.Georg Brandl2011-08-031-2/+2
| |
* | Fix closes Issue12676 - Invalid identifier used in TypeError message in ↵Senthil Kumaran2011-08-021-1/+1
|\ \ | |/ | | | | | | | | http.client. Reported by Popa Claudiu and Patch by Santoso Wijaya.
| * Fix closes Issue12676 - Invalid identifier used in TypeError message in ↵Senthil Kumaran2011-08-021-1/+1
| | | | | | | | | | | | http.client. Reported by Popa Claudiu and Patch by Santoso Wijaya.
* | #11515: Merge with 3.2.Ezio Melotti2011-03-151-1/+1
|\ \ | |/
| * #11515: Merge with 3.1.Ezio Melotti2011-03-151-1/+1
| |\
| | * #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
| | |
| | * Merged revisions ↵Georg Brandl2011-02-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87627,87638,87739,87760,87771,87787,87984,87986,88108,88115,88144,88165,88329,88364-88365,88369-88370,88423-88424 via svnmerge from svn+ssh://svn.python.org/python/branches/py3k ........ r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line #1665333: add more docs for optparse.OptionGroup. ........ r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line Fix code indentation. ........ r87739 | georg.brandl | 2011-01-04 18:27:13 +0100 (Di, 04 Jan 2011) | 1 line Fix exception catching. ........ r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line Fix duplicate end tag. ........ r87771 | georg.brandl | 2011-01-05 22:47:47 +0100 (Mi, 05 Jan 2011) | 1 line On Py3k, -tt and -3 are no-op and unsupported respectively. ........ r87787 | georg.brandl | 2011-01-06 10:15:45 +0100 (Do, 06 Jan 2011) | 1 line Remove doc for nonexisting parameter. ........ r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line Add semicolon for consistency. ........ r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line Fix the example output of count(). ........ r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line Suppress trailing spaces in table paragraphs. ........ r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line #10944: add c_bool to types table. ........ r88144 | georg.brandl | 2011-01-22 23:06:24 +0100 (Sa, 22 Jan 2011) | 1 line #10983: fix several bugs in the _tunnel implementation that seem to have missed while porting between branches. A unittest is needed! ........ r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line Typo fix. ........ r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line Punctuation typos. ........ r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line #11138: fix order of fill and align specifiers. ........ r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line #8691: document that right alignment is default for numbers. ........ r88369 | georg.brandl | 2011-02-07 16:30:45 +0100 (Mo, 07 Feb 2011) | 1 line Consistent heading spacing, and fix two typos. ........ r88370 | georg.brandl | 2011-02-07 16:44:27 +0100 (Mo, 07 Feb 2011) | 1 line Spelling fixes. ........ r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line Apply logging SocketHandler doc update by Vinay. ........ r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line Remove editing slip. ........
| | * Merged revisions 87373,87381 via svnmerge fromAntoine Pitrou2010-12-181-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87373 | senthil.kumaran | 2010-12-18 17:55:23 +0100 (sam., 18 déc. 2010) | 3 lines Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by Antoine Pitrou ........ r87381 | antoine.pitrou | 2010-12-18 18:59:18 +0100 (sam., 18 déc. 2010) | 3 lines NEWS entry for r87373 ........
| | * Merged revisions 86450 via svnmerge fromSenthil Kumaran2010-11-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86450 | senthil.kumaran | 2010-11-13 20:27:49 +0800 (Sat, 13 Nov 2010) | 3 lines Fix Issue5111 - Wrap the Ipv6 host with [] in the Host header ........
| | * Merged revisions 85205 via svnmerge fromSenthil Kumaran2010-10-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85205 | senthil.kumaran | 2010-10-03 23:52:42 +0530 (Sun, 03 Oct 2010) | 3 lines Fix Issue10012 - httplib headers, which are (sometimes mistakenly) int are explicitly cast to str (bytes - in py3k). ........
| | * Merged revisions 85169 via svnmerge fromSenthil Kumaran2010-10-021-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85169 | senthil.kumaran | 2010-10-02 16:03:13 +0530 (Sat, 02 Oct 2010) | 3 lines Use proper variable name 'data' instead of 'str' in the send method. ........
| | * Merged revisions 83521 via svnmerge fromSenthil Kumaran2010-08-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83521 | senthil.kumaran | 2010-08-02 16:34:58 +0530 (Mon, 02 Aug 2010) | 3 lines Fix Issue8572 - httplib getheader() throws error instead of default ........
| | * Merged revisions 81689 via svnmerge fromSenthil Kumaran2010-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81689 | senthil.kumaran | 2010-06-04 22:08:00 +0530 (Fri, 04 Jun 2010) | 9 lines Merged revisions 81687 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81687 | senthil.kumaran | 2010-06-04 22:02:14 +0530 (Fri, 04 Jun 2010) | 3 lines Fix issue6312 - close the resp object for HEAD response. ........ ................