Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #24363: Continue parsing HTTP header in spite of invalid lines | Martin Panter | 2016-09-16 | 1 | -24/+9 |
| | |||||
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | Issue #17849: Raise sensible exception for invalid HTTP tunnel response | Martin Panter | 2015-09-07 | 1 | -0/+5 |
| | | | | Initial patch from Cory Benfield. | ||||
* | Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port | Serhiy Storchaka | 2015-05-28 | 1 | -4/+3 |
| | | | | value in the host header was set to "None". Patch by Demian Brecht. | ||||
* | Issue #15267: HTTPConnection.request() now is compatibile with old-style | Serhiy Storchaka | 2015-05-16 | 1 | -1/+1 |
| | | | | classes (such as TemporaryFile). Original patch by Atsuo Ishimoto. | ||||
* | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -8/+13 |
| | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | #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. | ||||
* | Issue #22928: Disabled HTTP header injections in httplib. | Serhiy Storchaka | 2015-03-12 | 1 | -1/+39 |
| | | | | Original patch by Demian Brecht. | ||||
* | simply ignore headers with no name (#19996) | Benjamin Peterson | 2015-01-26 | 1 | -0/+5 |
| | | | | Patch by Cory Benfield. | ||||
* | Fix Issue23300 : httplib.HTTP classe's connect method should use _get_hostport | Senthil Kumaran | 2015-01-24 | 1 | -2/+2 |
| | | | | | instead of (non-existing) _set_hostport. (Fix the regression introduced in 568041fd8090 ) | ||||
* | merge 2.7.9 release branch | Benjamin Peterson | 2014-12-07 | 1 | -15/+1 |
|\ | |||||
| * | remove HTTPSConnection's check_hostname parameter (#22959) | Benjamin Peterson | 2014-12-07 | 1 | -15/+1 |
| | | |||||
* | | Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails. | Serhiy Storchaka | 2014-12-01 | 1 | -10/+14 |
|/ | | | | Original patch by Martin Panter. | ||||
* | pep 476: verify certificates by default (#22417) | Benjamin Peterson | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | give urllib.urlopen a context parameter (closes #22927) | Benjamin Peterson | 2014-11-24 | 1 | -2/+3 |
| | |||||
* | allow hostname to be passed to SSLContext even if OpenSSL doesn't support ↵ | Benjamin Peterson | 2014-11-24 | 1 | -2/+1 |
| | | | | | | SNI (closes #22921) Patch from Donald Stufft. | ||||
* | allow passing cert/ssl information to urllib2.urlopen and ↵ | Benjamin Peterson | 2014-11-23 | 1 | -6/+29 |
| | | | | | | httplib.HTTPSConnection This is basically a backport of issues #9003 and #22366. | ||||
* | Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more | Berker Peksag | 2014-08-05 | 1 | -0/+6 |
| | | | | | | than 100 headers are read. Patch by Jyrki Pulliainen and Daniel Eriksson. | ||||
* | Backport Fix for Issue #7776: Fix ``Host:'' header and reconnection when ↵ | Senthil Kumaran | 2014-05-17 | 1 | -16/+38 |
| | | | | | | using http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath. | ||||
* | Issue #20007: HTTPResponse.read(0) no more prematurely closes connection. | Serhiy Storchaka | 2013-12-17 | 1 | -1/+1 |
| | | | | Original patch by Simon Sapin. | ||||
* | Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵ | Antoine Pitrou | 2013-02-02 | 1 | -4/+9 |
| | | | | less than the advertised Content-Length. | ||||
* | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | 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. | ||||
* | Issue #16037: Limit httplib's _read_status() function to work around broken | Christian Heimes | 2012-09-25 | 1 | -1/+3 |
| | | | | | HTTP servers and reduce memory usage. It's actually a backport of a Python 3.2 fix. Thanks to Adrien Kunysz. | ||||
* | Fix Issue14721: Send Content-length: 0 for empty body () in the http.request | Senthil Kumaran | 2012-05-19 | 1 | -1/+1 |
| | |||||
* | Fix for Issue13684 - httplib tunnel infinite loop | Senthil Kumaran | 2012-04-23 | 1 | -1/+5 |
| | |||||
* | Use raw strings for docstrings with backslashes in ASCII diagrams | Éric Araujo | 2012-02-26 | 1 | -1/+1 |
| | |||||
* | Fixes #10860: Handle empty port after port delimiter in httplib | Łukasz Langa | 2011-10-18 | 1 | -1/+4 |
| | | | | | | Thanks, Shawn Ligocki! 3.x version will come as a separate patch. | ||||
* | Issue13073 - Address review comments and add versionchanged information in ↵ | Senthil Kumaran | 2011-10-05 | 1 | -3/+3 |
| | | | | the docs. | ||||
* | Remove the un-exercised in-module test code. | Senthil Kumaran | 2011-08-10 | 1 | -68/+0 |
| | |||||
* | #11515: fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 |
| | |||||
* | Merged revisions 87373,87381 via svnmerge from | Antoine Pitrou | 2010-12-18 | 1 | -5/+24 |
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k BaseHTTPServer isn't fixed, this would require too much refactoring. ........ 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 from | Senthil Kumaran | 2010-11-14 | 1 | -0/+3 |
| | | | | | | | | | | 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 from | Senthil Kumaran | 2010-10-03 | 1 | -1/+1 |
| | | | | | | | | | | 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 from | Senthil Kumaran | 2010-10-02 | 1 | -13/+13 |
| | | | | | | | | | | 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. ........ | ||||
* | Fix Issue1327971: HTTPResponse should expose a proper fileno attribute | Senthil Kumaran | 2010-09-21 | 1 | -0/+3 |
| | |||||
* | Forward port r70643 (#5542) + part of r83120 (just remove the comment) | Victor Stinner | 2010-07-24 | 1 | -30/+12 |
| | | | | | | | | Remove special logic that closes HTTPConnection socket on EPIPE. 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. | ||||
* | Fix issue6312 - close the resp object for HEAD response. | Senthil Kumaran | 2010-06-04 | 1 | -0/+1 |
| | |||||
* | Fixed Issue6312 - httplib fails with HEAD requests to pages with ↵ | Senthil Kumaran | 2010-04-28 | 1 | -0/+3 |
| | | | | "transfer-encoding: chunked" | ||||
* | Issue #7427: improve the representation of httplib.BadStatusLine exceptions. | Dirkjan Ochtman | 2010-02-24 | 1 | -0/+2 |
| | |||||
* | issue3972: HTTPConnection and HTTPSConnection now support a | Gregory P. Smith | 2010-01-03 | 1 | -5/+9 |
| | | | | | | source_address parameter. Also cleans up an annotation in the socket documentation. | ||||
* | Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth | Senthil Kumaran | 2009-12-20 | 1 | -3/+15 |
| | | | | Refactored HTTPHandler tests and added testcase for proxy authorization. | ||||
* | Fix py3k warnings in httplib | Antoine Pitrou | 2009-10-14 | 1 | -4/+4 |
| | |||||
* | Issue #6790: Make it possible again to pass an `array.array` to | Antoine Pitrou | 2009-09-29 | 1 | -1/+2 |
| | | | | `httplib.HTTPConnection.send`. Patch by Kirk McDonald. | ||||
* | Fixes issue #6838: use a list to accumulate the value instead of repeatedly ↵ | Chris Withers | 2009-09-04 | 1 | -12/+9 |
| | | | | concatenating strings. | ||||
* | comment typo fix | Gregory P. Smith | 2009-08-20 | 1 | -1/+1 |
| | |||||
* | Revert the changes from r74463, they were causing test_xmlrpc to fail. | Gregory P. Smith | 2009-08-19 | 1 | -9/+1 |
| | | | | | | | | | We do not need to force a close when using socket buffering on a httplib.HTTPRequest as the library does not support streaming requests so there should never been extra data beyond the end of the current request to have left over in the requests socket buffer. see http://bugs.python.org/issue6724 | ||||
* | Force the http connection to close after any request returned when | Gregory P. Smith | 2009-08-15 | 1 | -1/+14 |
| | | | | | | | buffering=True as our buffered data is not known to the HTTPConnection and may contain data needed by a future request if the connection were left open. See http://bugs.python.org/issue2576 and http://bugs.python.org/issue4879. | ||||
* | Fixed Issue1424152, urllib2 fails with HTTPS over Proxy. | Senthil Kumaran | 2009-05-24 | 1 | -0/+29 |
| | |||||
* | give httplib.IncompleteRead a more sane repr #4308 | Benjamin Peterson | 2009-03-02 | 1 | -2/+11 |
| |