Martin Panter
|
b75a0e9f32
|
Issue #17849: Raise sensible exception for invalid HTTP tunnel response
Initial patch from Cory Benfield.
|
2015-09-07 01:18:47 +00:00 |
|
Serhiy Storchaka
|
9d1de8a2a9
|
Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port
value in the host header was set to "None". Patch by Demian Brecht.
|
2015-05-28 22:37:13 +03:00 |
|
Serhiy Storchaka
|
80573bb902
|
Issue #15267: HTTPConnection.request() now is compatibile with old-style
classes (such as TemporaryFile). Original patch by Atsuo Ishimoto.
|
2015-05-16 18:58:41 +03:00 |
|
Serhiy Storchaka
|
1aa2c0f073
|
Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
|
2015-04-10 13:24:10 +03:00 |
|
R David Murray
|
b4b000f002
|
#23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
Some http servers will reject PUT, POST, and PATCH requests if they
do not have a Content-Length header.
Patch by James Rutherford.
|
2015-03-22 15:15:44 -04:00 |
|
Serhiy Storchaka
|
59bdf6392d
|
Issue #22928: Disabled HTTP header injections in httplib.
Original patch by Demian Brecht.
|
2015-03-12 11:12:51 +02:00 |
|
Benjamin Peterson
|
bfd976fc17
|
simply ignore headers with no name (#19996)
Patch by Cory Benfield.
|
2015-01-25 23:34:42 -05:00 |
|
Senthil Kumaran
|
812b9756a0
|
Fix Issue23300 : httplib.HTTP classe's connect method should use _get_hostport
instead of (non-existing) _set_hostport. (Fix the regression introduced in
568041fd8090 )
|
2015-01-24 12:58:10 -08:00 |
|
Benjamin Peterson
|
204a0eca5a
|
merge 2.7.9 release branch
|
2014-12-07 13:41:52 -05:00 |
|
Benjamin Peterson
|
227f6e0dc5
|
remove HTTPSConnection's check_hostname parameter (#22959)
|
2014-12-07 13:41:26 -05:00 |
|
Serhiy Storchaka
|
d862db0d09
|
Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.
|
2014-12-01 13:07:28 +02:00 |
|
Benjamin Peterson
|
e3e7d40514
|
pep 476: verify certificates by default (#22417)
|
2014-11-23 21:02:02 -06:00 |
|
Benjamin Peterson
|
b206473ef8
|
give urllib.urlopen a context parameter (closes #22927)
|
2014-11-23 20:55:24 -06:00 |
|
Benjamin Peterson
|
31aa69ead5
|
allow hostname to be passed to SSLContext even if OpenSSL doesn't support SNI (closes #22921)
Patch from Donald Stufft.
|
2014-11-23 20:13:31 -06:00 |
|
Benjamin Peterson
|
fcfb18ee2b
|
allow passing cert/ssl information to urllib2.urlopen and httplib.HTTPSConnection
This is basically a backport of issues #9003 and #22366.
|
2014-11-23 11:42:45 -06:00 |
|
Berker Peksag
|
b7414e0fdb
|
Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
than 100 headers are read.
Patch by Jyrki Pulliainen and Daniel Eriksson.
|
2014-08-05 07:15:57 +03:00 |
|
Senthil Kumaran
|
36f28f7ae8
|
Backport Fix for Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
Patch by Nikolaus Rath.
|
2014-05-16 18:51:46 -07:00 |
|
Serhiy Storchaka
|
c97f5ede8f
|
Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
Original patch by Simon Sapin.
|
2013-12-17 21:49:48 +02:00 |
|
Antoine Pitrou
|
d66c0ee76e
|
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
|
2013-02-02 22:49:34 +01:00 |
|
Andrew Svetlov
|
4bb142b1b7
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:27:37 +02:00 |
|
Antoine Pitrou
|
4113d2bd36
|
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.
|
2012-12-15 19:11:54 +01:00 |
|
Christian Heimes
|
671138f27d
|
Issue #16037: Limit httplib's _read_status() function to work around broken
HTTP servers and reduce memory usage. It's actually a backport of a Python
3.2 fix. Thanks to Adrien Kunysz.
|
2012-09-25 13:29:30 +02:00 |
|
Senthil Kumaran
|
618802d55e
|
Fix Issue14721: Send Content-length: 0 for empty body () in the http.request
|
2012-05-19 16:52:21 +08:00 |
|
Senthil Kumaran
|
0267185088
|
Fix for Issue13684 - httplib tunnel infinite loop
|
2012-04-23 23:46:46 +08:00 |
|
Éric Araujo
|
06efea3392
|
Use raw strings for docstrings with backslashes in ASCII diagrams
|
2012-02-26 01:33:22 +01:00 |
|