Martin Panter
3079bbebac
Issue #14132 : Fix redirect handling when target is just a query string
2016-05-16 01:07:13 +00:00
Berker Peksag
87640b30ce
Issue #2202 : Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls
...
Raise ValueError if algorithm is not MD5 or SHA.
Initial patch by Mathieu Dupuy.
2016-03-06 16:27:23 +02:00
Serhiy Storchaka
43beaebffb
Issue #6500 : Fixed infinite recursion in urllib2.Request.__getattr__().
2016-01-18 10:35:40 +02:00
Berker Peksag
e01859fb65
Issue #6500 : Reverting fbea8ff8db5e since it broke tests
2016-01-06 03:08:12 +02:00
Berker Peksag
621d7fd583
Issue #6500 : Fix "maximum recursion depth exceeded" error caused by Request.__getattr__()
2016-01-06 02:04:52 +02:00
Benjamin Peterson
227f6e0dc5
remove HTTPSConnection's check_hostname parameter ( #22959 )
2014-12-07 13:41:26 -05: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
Senthil Kumaran
0088b620c9
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-20 07:52:59 +05:30
Senthil Kumaran
19d07f29ce
backout changeset e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797
2014-08-16 22:51:33 +05:30
Senthil Kumaran
7257b50e18
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-16 14:16:14 +05:30
Senthil Kumaran
f8a6b005fd
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:00:47 -08:00
Senthil Kumaran
5d60e56a17
revert the changes done in d931a3b64fd6 - buildbot failure.
...
The fix for issue14826 might need to address toBytes and test_url_encoding in
test_cookielib.py before it is brought back in.
2012-07-08 02:20:27 -07:00
Senthil Kumaran
01fe5fa8ea
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
...
Patch contributed by Stephen Thorne.
2012-07-07 17:37:53 -07:00
Senthil Kumaran
b0d85fd1b5
Issue12541 - Add UserWarning for unquoted realms
2012-05-15 23:59:19 +08:00
Senthil Kumaran
6a2a6c2ee3
Issue #12541 : Be lenient with quotes around Realm field with HTTP Basic Authentation in urllib2.
2012-05-15 22:24:10 +08:00
Jason R. Coombs
974d863fec
Issue #13211 : Add .reason attribute to HTTPError to implement parent class (URLError) interface.
2011-11-07 10:44:25 -05:00
Senthil Kumaran
7d7702b581
merge from 3.2 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
2011-07-27 09:37:17 +08:00
Nadeem Vawda
b42c53e442
Issue #10883 : Fix socket leaks in urllib.request.
...
* ftpwrapper now uses reference counting to ensure that the underlying socket
is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs
Initial patch by Victor Stinner.
2011-07-23 15:51:16 +02:00
Victor Stinner
c74a6ba2d6
Issue #12133 : AbstractHTTPHandler.do_open() of urllib.request closes the HTTP
...
connection if its getresponse() method fails with a socket error. Patch written
by Ezio Melotti.
2011-06-17 14:06:27 +02:00
Senthil Kumaran
49c440877e
Fix Issue11703 - urllib2.get_url does not handle fragment in url properly.
2011-04-13 07:31:45 +08:00
Guido van Rossum
07ef62c47c
Merge issue 11662 from 2.6.
2011-03-29 12:53:55 -07:00
Guido van Rossum
079381d236
Merge issue 11662 from 2.5.
2011-03-29 12:51:16 -07:00
guido@google.com
f1509306d2
Add tests for the urllib[2] vulnerability. Change to raise exceptions.
2011-03-28 13:47:01 -07:00
guido@google.com
2bc23b8448
Add FTP to the allowed url schemes. Add Misc/NEWS.
2011-03-24 10:44:17 -07:00
guido@google.com
60a4a90c8d
Issue 22663: fix redirect vulnerability in urllib/urllib2.
2011-03-24 08:07:45 -07:00