summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_http_cookiejar.py
Commit message (Collapse)AuthorAgeFilesLines
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-110/+110
|
* Simplify the Request class. The basic components of the parsedJeremy Hylton2009-03-311-5/+0
| | | | | | | | | | | | Request are now available as public attributes, e.g. full_url and host. The accessor methods are deprecated. The implementation replace the complicated __getattr__ machinery with a _parse() method. The response from an HTTP request is now an HTTPResponse instance instead of an addinfourl() wrapper instance. The wrapper provided minimal extract functionality and was undocumented. The API of addinfourl() was preserved, except for close hooks, by adding a few methods and public attributes to the HTTPResponse class.
* - Issue #3300: make urllib.parse.[un]quote() default to UTF-8.Guido van Rossum2008-08-181-1/+4
| | | | | | | | Code contributed by Matt Giuca. quote() now encodes the input before quoting, unquote() decodes after unquoting. There are new arguments to change the encoding and errors settings. There are also new APIs to skip the encode/decode steps. [un]quote_plus() are also affected.
* Make a new urllib package .Jeremy Hylton2008-06-181-45/+47
| | | | | | | | | | | | | 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.
* Patch for issue 2848, mostly by Humberto Diogenes, with a couple ofBarry Warsaw2008-06-121-3/+2
| | | | small fixes by Barry. This removes mimetools from the stdlib.
* Create http package. #2883.Georg Brandl2008-05-261-0/+1637