blob: c40317165a66b51cef17c77aa452c6d35b95055b [file] [log] [blame]
Joe Gregoriob0c82ca2011-06-13 15:13:11 -040010.7.0
2 The two major changes in this release are SSL Certificate
3 checking and App Engine support. By default the certificates
4 of an HTTPS connection are checked, but that can be disabled
5 via disable_ssl_certificate_validation. The second change
6 is that on App Engine there is a new connection object
7 that utilizes the urlfetch capabilities on App Engine, including
8 setting timeouts and validating certificates.
9
10 The following issues have been addressed:
11
12 Fixes issue 72. Always lowercase authorization header.
13 Fix issue 47. Redirects that become a GET should not have a body.
14 Fixes issue 19. Set Content-location on redirected HEAD requests
15 Fixes issue 139. Redirect with a GET on 302 regardless of the originating method.
16 Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII!
17 Add certificate validation. Work initially started by Christoph Kern.
18 Set a version number. Fixes issue # 135.
19 Sync to latest version of socks.py
20 Add gzip to the user-agent, in case we are making a request to an app engine project: http://code.google.com/appengine/kb/general.html#compression
21 Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed
22 Add default support for optimistic concurrency on PATCH requests
23 Fixes issue 126. IPv6 under various conditions would fail.
24 Fixes issue 131. Handle socket.timeout's that occur during send.
25 proxy support: degrade gracefully when socket.socket is unavailable
26
27
Joe Gregoriof3116552009-12-28 13:02:42 -0500280.6.0
29
30 The following issues have been addressed:
31
32 #51 - Failure to handle server legitimately closing connection before request body is fully sent
33 #77 - Duplicated caching test
34 #65 - Transform _normalize_headers into a method of Http class
35 #45 - Vary header
36 #73 - All files in Mercurial are executable
37 #81 - Have a useful .hgignore
38 #78 - Add release tags to the Mercurial repository
39 #67 - HEAD requests cause next request to be retried
40
41 Mostly bug fixes, the big enhancement is the addition of proper Vary: header
42 handling. Thanks to Chris Dent for that change.
43
44 The other big change is the build process for distributions so that both python2 and python3
45 are included in the same .tar.gz/.zip file.
46
Joe Gregorio66611ff2009-07-19 01:32:17 -0400470.5.0
48
49 Added Python 3 support
50
51 Fixed the following bugs:
52
53 #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
54 #39 - Deprecation warnings in Python 2.6
Joe Gregorio891439e2009-07-28 10:52:36 -040055 #54 - Http.request fails accesing Google account via http proxy
Joe Gregorio66611ff2009-07-19 01:32:17 -040056 #56 - Block on response.read() for HEAD requests.
57 #57 - Timeout ignore for Python 2.6
58 #58 - Fixed parsing of Cache-Control: header to make it more robust
59
Joe Gregorio891439e2009-07-28 10:52:36 -040060 Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.
Joe Gregorio66611ff2009-07-19 01:32:17 -040061
joe.gregorio5fcc1992007-10-23 15:12:17 +0000620.4.0
jcgregorio14644372007-07-30 14:13:37 +000063
joe.gregorio5fcc1992007-10-23 15:12:17 +000064 Added support for proxies if the Socksipy module is installed.
65
66 Fixed bug with some HEAD responses having content-length set to
67 zero incorrectly.
68
69 Fixed most except's to catch a specific exception.
jcgregorio14644372007-07-30 14:13:37 +000070
71 Added 'connection_type' parameter to Http.request().
joe.gregorio5fcc1992007-10-23 15:12:17 +000072
73 The default for 'force_exception_to_status_code' was changed to False. Defaulting
74 to True was causing quite a bit of confusion.
jcgregorio14644372007-07-30 14:13:37 +000075
76
jcgregorio463a8db2007-03-09 03:27:14 +0000770.3.0
78 Calling Http.request() with a relative URI, as opposed to an absolute URI,
79 will now throw a specific exception.
80
81 Http() now has an additional optional parameter for the socket timeout.
82
83 Exceptions can now be forced into responses. That is, instead of
84 throwing an exception, a good httlib2.Response object is returned
85 that describe the error with an appropriate status code.
86
87 Many improvements to the file cache:
88
89 1. The names in the cache are now much less
90 opaque, which should help with debugging.
91
92 2. The disk cache is now Apache mod_asis compatible.
93
94 3. A Content-Location: header is supplied and stored in the
95 cache which points to the original requested URI.
96
97 User supplied If-* headers now override httplib2 supplied
98 versions.
99
100 IRIs are now fully supported. Note that they MUST be passed in
101 as unicode objects.
102
103 Http.add_credentials() now takes an optional domain to restrict
104 the credentials to being only used on that domain.
105
106 Added Http.add_certificate() which allows setting
107 a key and cert for SSL connnections.
108
109 Many other bugs fixed.
110
111
jcgregorioa0713ab2006-07-01 05:21:34 +00001120.2.0
113 Added support for Google Auth.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000114
jcgregorioa0713ab2006-07-01 05:21:34 +0000115 Added experimental support for HMACDigest.
116
jcgregorio92088922006-07-01 05:53:21 +0000117 Added support for a pluggable caching system. Now supports
118 the old system of using the file system and now memcached.
119
jcgregorioa0713ab2006-07-01 05:21:34 +0000120 Added httplib2.debuglevel which turns on debugging.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000121
jcgregorio92088922006-07-01 05:53:21 +0000122 Change Response._previous to Response.previous.
123
124 Addded Http.follow_all_redirects which forces
125 httplib2 to follow all redirects, as opposed to
126 following only the safe redirects. This makes the
127 GData protocol easier to use.
128
129 All known bugs fixed to date.
130
jcgregorio8421f272006-02-14 18:19:51 +00001310.1.1
jcgregorio2d66d4f2006-02-07 05:34:14 +0000132
jcgregorio4177ca12006-02-16 10:50:58 +0000133 Fixed several bugs raised by James Antill:
jcgregorio2d66d4f2006-02-07 05:34:14 +0000134 1. HEAD didn't get an Accept: header added like GET.
135 2. HEAD requests did not use the cache.
136 3. GET requests with Range: headers would erroneously return a full cached response.
jcgregorio8421f272006-02-14 18:19:51 +0000137 4. Subsequent requests to resources that had timed out would raise an exception.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000138 And one feature request for 'method' to default to GET.
139
jcgregorio4177ca12006-02-16 10:50:58 +0000140 Xavier Verges Farrero supplied what I needed to make the
141 library work with Python 2.3.
jcgregorio8421f272006-02-14 18:19:51 +0000142
jcgregorio1eed40f2006-02-15 18:56:46 +0000143 I added distutils based setup.py.
144
jcgregorio2d66d4f2006-02-07 05:34:14 +00001450.1 Rev 86
146
147 Initial Release
148