summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typoSenthil Kumaran2013-09-101-1/+1
|
* Issue #18978: Add tests to capture expected behavior for class-level method ↵Jason R. Coombs2013-09-081-0/+9
| | | | overrides.
* Fix #17272 - Make Request.full_url and Request.get_full_url return same ↵Senthil Kumaran2013-05-241-0/+15
| | | | | | result under all circumstances. Document the change of Request.full_url to a property.
* Issue #17272: Making the urllib.request's Request.full_url a descriptor. FixesSenthil Kumaran2013-04-251-0/+24
| | | | bugs with assignment to full_url. Patch by Demian Brecht.
* #17648 - Clean up test_urllib2.py. Converted doctests to unittest forSenthil Kumaran2013-04-091-215/+185
| | | | expansion.
* #17485: Delete the Content-Length header if the data attribute is deleted.R David Murray2013-03-201-2/+11
| | | | This is a follow on to issue 16464. Original patch by Daniel Wozniak.
* #17471: merge from 3.3Senthil Kumaran2013-03-191-0/+2
|\
| * #17471 - merge from 3.2Senthil Kumaran2013-03-191-1/+7
| |\
| | * #17471 - Increasing the urllib.error test coverage. Bringing it to 100%. ↵Senthil Kumaran2013-03-191-1/+9
| | | | | | | | | | | | Based on patch contributed by Daniel Wozniak
* | | #17471 - merge from 3.3Senthil Kumaran2013-03-191-0/+3
|\ \ \ | |/ /
| * | #17471 - merge from 3.2Senthil Kumaran2013-03-191-0/+3
| |\ \ | | |/
| | * #17471 - Improve urllib2 test coverage. Patch contributed by Daniel WozniakSenthil Kumaran2013-03-191-0/+3
| | |
| * | merge from 3.2Senthil Kumaran2012-12-231-12/+28
| |\ \ | | |/ | | | | | | Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
| | * Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that ↵Senthil Kumaran2012-12-231-10/+26
| | | | | | | | | | | | to return headers correctly
* | | Refactor test_urllib2. Include test_HTTPError_interface under MiscTestsSenthil Kumaran2013-03-191-21/+20
| | |
* | | #17474 - Remove the various deprecated methods of Request class.Senthil Kumaran2013-03-191-21/+0
| | |
* | | Skip a test unless the network resource is available.Brett Cannon2013-01-261-0/+2
| | |
* | | replace threw with raised (#16714)Andrew Svetlov2012-12-191-1/+1
|\ \ \ | |/ /
| * | replace threw with raised (#16714)Andrew Svetlov2012-12-191-1/+1
| |\ \ | | |/
| | * replace threw with raised (#16714)Andrew Svetlov2012-12-191-1/+1
| | |
* | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-2/+2
| | |
* | | Fix Issue15701 : add .headers attribute to urllib.error.HTTPErrorSenthil Kumaran2012-12-101-1/+5
| | |
* | | Issue #16464: reset Request's Content-Length header on .data change.Andrew Svetlov2012-11-271-0/+37
| | | | | | | | | | | | | | | | | | It will be recalculated on sending request to HTTP server. Patch by Alexey Kachayev
* | | Issue #12692: Fix resource leak in urllib.request.Nadeem Vawda2012-10-211-0/+1
|/ /
* | Fix Issue 15743 - improve urllib tests by removing deprecated method usages. ↵Senthil Kumaran2012-08-201-31/+33
| | | | | | | | Patch by Jeff Knupp.
* | Issue12541 - Add UserWarning for unquoted realmsSenthil Kumaran2012-05-151-5/+6
|\ \ | |/
| * Issue12541 - Add UserWarning for unquoted realmsSenthil Kumaran2012-05-151-5/+6
| |
* | merge from 3.2 - Issue #12541: Be lenient with quotes around Realm field of ↵Senthil Kumaran2012-05-151-0/+15
|\ \ | |/ | | | | HTTP Basic Authentation in urllib2.
| * Issue #12541: Be lenient with quotes around Realm field of HTTP Basic ↵Senthil Kumaran2012-05-151-0/+15
| | | | | | | | | | | | Authentation in urllib2. G: changed Misc/NEWS
* | code improvement. 'as cm' not required when not used. Review comment by ↵Senthil Kumaran2012-04-121-7/+7
| | | | | | | | Georg Brandl
* | use assertWarns instead of check_warnings - Issue14341Senthil Kumaran2012-04-111-7/+9
| |
* | Fix the buildbot breakdown - issue 10050Senthil Kumaran2012-03-141-2/+0
| |
* | deprecated the old urllib primitives in 3.3 urllib package - issue 10050Senthil Kumaran2012-03-141-4/+19
| |
* | merge from 3.2Senthil Kumaran2012-01-041-0/+13
|\ \ | |/
| * Issue13696 - Fix 302 Redirection for Relative urls.Senthil Kumaran2012-01-041-0/+13
| |
* | Corrected order of parameters to HTTPError in test_urllib2.py.Jason R. Coombs2011-12-041-1/+1
| |
* | Pass positional arguments - HTTPError is not accepting keyword arguments. ↵Jason R. Coombs2011-12-041-1/+3
| | | | | | | | Reference #13211 and #12555.
* | Merged fix for #13211 from 3.2Jason R. Coombs2011-12-031-0/+11
|\ \ | |/
| * Issue #13211: Add .reason attribute to HTTPError to implement parent class ↵Jason R. Coombs2011-11-071-0/+11
| | | | | | | | (URLError) interface.
* | Fix test_urllib2 error on Windows in relation with issue #13287.Florent Xicluna2011-11-041-0/+4
| |
* | issue13287 - Define __all__ for urllib.request and urllib.error and expose onlySenthil Kumaran2011-11-011-0/+12
| | | | | | | | the relevant module. Other cleanup improvements. Patch by flox.
* | Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\ \ | |/
| * Remove duplication.Ezio Melotti2011-10-191-1/+1
| |
* | Merge: #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-0/+1
|\ \ | |/ | | | | | | | | | | | | * 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.
| * Issue #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-0/+1
| | | | | | | | | | | | | | | | * 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.
* | (Merge 3.2) Issue #12133: fix a ResourceWarning in urllib.requestVictor Stinner2011-06-171-0/+3
|\ \ | |/ | | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
| * Issue #12133: fix a ResourceWarning in urllib.requestVictor Stinner2011-06-171-0/+3
| | | | | | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
* | Fix closes Issue #11799: urllib.request Authentication Handlers will raise aSenthil Kumaran2011-05-111-0/+24
| | | | | | | | ValueError when presented with an unsupported Authentication Scheme.
* | merge from 3.2Senthil Kumaran2011-04-121-1/+14
|\ \ | |/
| * merge from 3.1Senthil Kumaran2011-04-121-1/+14
| |\