summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/response.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-5/+9
| | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)Senthil Kumaran2014-04-201-42/+19
| | | | | | facility. Provides a better way to handle file descriptor close. Address issue #15002 . Patch contributed by Christian Theune.
* port from 3.2 - Fix the urllib closing issue which hangs on particular ftp ↵Senthil Kumaran2012-03-151-1/+1
|\ | | | | | | urls/ftp servers. closes issue11199
| * closes Issue #11199: Fix the with urllib which hangs on particular ftp urls.Senthil Kumaran2012-03-151-1/+1
| |
* | Issue #4608: urllib.request.urlopen does not return an iterable objectRaymond Hettinger2011-06-261-4/+8
|\ \ | |/
| * Issue #4608: urllib.request.urlopen does not return an iterable objectRaymond Hettinger2011-06-261-4/+8
| |
* | Be more thorough in blanking out methods grabbed off of an fp.Brett Cannon2011-03-151-2/+5
|/
* Add __enter__ and __exit__ methods to addbase() so that it supports with.Jeremy Hylton2009-03-261-0/+8
| | | | | | | This change also adds a minimal unittest of urllib.response.addbase. More are needed, but not to cover the small change being made here. Addresses http://bugs.python.org/issue5418
* Issue #4631: Fix urlopen() result when an HTTP response uses chunked encoding.Antoine Pitrou2009-02-111-1/+2
|
* Make a new urllib package .Jeremy Hylton2008-06-181-0/+83
It consists of code from urllib, urllib2, urlparse, and robotparser. The old modules have all been removed. The new package has five submodules: urllib.parse, urllib.request, urllib.response, urllib.error, and urllib.robotparser. The urllib.request.urlopen() function uses the url opener from urllib2. Note that the unittests have not been renamed for the beta, but they will be renamed in the future. Joint work with Senthil Kumaran.