summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/response.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #4608: urllib.request.urlopen does not return an iterable objectRaymond Hettinger2011-06-261-4/+8
|
* 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.