blob: 6472020000ea60246776c79ca969375fd75049dd [file] [log] [blame]
Joe Gregorio1af76a62015-04-09 10:10:39 -040010.9.1
2
30.9
4 Heartbleed
5
Joe Gregorioee9ee3c2013-03-06 15:31:15 -050060.8
7 More fixes for the App Engine support.
8
9 Added a new feature that allows you to supply your own provider for the
10 CA_CERTS file. Just create a module named ca_certs_locater that has a method
11 get() that returns the file location of the CA_CERTS file.
12
13 Lots of clean up of the code formatting to make it more consistent.
14
Joe Gregorio76420172012-11-12 14:02:58 -0500150.7.7
16 More fixes for App Engine, now less likely to swallow important exceptions.
17 Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/.
18 Added GeoTrust cert
19 Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/
20
21 The following issues have been fixed:
22
23 229 python3 httplib2 clobbers multiple headers of same key
24 230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError
25 231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes
26
Joe Gregorioa91406d2012-09-11 13:20:44 -0400270.7.6
28 Fixes for App Engine 2.7.
29
Joe Gregorioed72cba2012-08-28 12:19:28 -0400300.7.5
31 Keys are lowercase in a Response object, regardless of how Response object is constructed.
32 Add control so that Authorization: headers aren't forwarded on a 3xx response by default.
33 Set the reason correctly when running on App Engine. Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/
34 Fix proxy socks for SSL connections. Fixes issue #199.
35 You can now set httplib2.RETRIES to the number of retries before a request
36 is considered to fail It is set to a default of 2 to mimic the traditional
37 behavior of httplib2.
38
39 The following issues have been addressed:
40
41 223 HEAD requests fail calling the close() method of ResponseDict instance.
42 222 Can't disable cert validation in appengine
43 204 Credentials can leak in HTTP redirects
44 210 Different API between Python 2 and Python 3 version breaks wsgi_intercept
45 214 ValueError on malformated cache entries
46 204 Credentials can leak in HTTP redirects
47
48
Joe Gregoriob850bd02012-03-02 08:37:22 -0800490.7.3
Jason R. Coombs43840892011-08-09 10:30:46 -040050 ProxyInfo objects now can construct themselves from environment
51 variables commonly-used in Unix environments. By default, the Http
52 class will construct a ProxyInfo instance based on these environment
53 variables. To achieve the previous behavior, where environment
54 variables are ignored, pass proxy_info=None to Http().
55
56 The following issues have been addressed:
57
58 Issue 159: automatic detection of proxy configuration.
Joe Gregoriob850bd02012-03-02 08:37:22 -080059 Issue 179: Allow unicode in proxy hostname.
60 Issue 194: Added support for setuptools.
61 Fixes for HTTP CONNECT proxies.
Jason R. Coombs43840892011-08-09 10:30:46 -040062
Joe Gregoriob2cfdf62011-06-16 10:11:13 -0400630.7.1
64 Fix failure to install cacerts.txt for 2.x installs.
65
Joe Gregoriob0c82ca2011-06-13 15:13:11 -0400660.7.0
67 The two major changes in this release are SSL Certificate
68 checking and App Engine support. By default the certificates
69 of an HTTPS connection are checked, but that can be disabled
70 via disable_ssl_certificate_validation. The second change
71 is that on App Engine there is a new connection object
72 that utilizes the urlfetch capabilities on App Engine, including
73 setting timeouts and validating certificates.
74
75 The following issues have been addressed:
76
77 Fixes issue 72. Always lowercase authorization header.
78 Fix issue 47. Redirects that become a GET should not have a body.
79 Fixes issue 19. Set Content-location on redirected HEAD requests
Jason R. Coombs43840892011-08-09 10:30:46 -040080 Fixes issue 139. Redirect with a GET on 302 regardless of the originating method.
81 Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII!
Joe Gregoriob0c82ca2011-06-13 15:13:11 -040082 Add certificate validation. Work initially started by Christoph Kern.
83 Set a version number. Fixes issue # 135.
84 Sync to latest version of socks.py
85 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
86 Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed
87 Add default support for optimistic concurrency on PATCH requests
88 Fixes issue 126. IPv6 under various conditions would fail.
89 Fixes issue 131. Handle socket.timeout's that occur during send.
90 proxy support: degrade gracefully when socket.socket is unavailable
91
92
Joe Gregoriof3116552009-12-28 13:02:42 -0500930.6.0
94
95 The following issues have been addressed:
96
Jason R. Coombs43840892011-08-09 10:30:46 -040097 #51 - Failure to handle server legitimately closing connection before request body is fully sent
98 #77 - Duplicated caching test
Joe Gregoriof3116552009-12-28 13:02:42 -050099 #65 - Transform _normalize_headers into a method of Http class
Jason R. Coombs43840892011-08-09 10:30:46 -0400100 #45 - Vary header
101 #73 - All files in Mercurial are executable
102 #81 - Have a useful .hgignore
103 #78 - Add release tags to the Mercurial repository
104 #67 - HEAD requests cause next request to be retried
Joe Gregoriof3116552009-12-28 13:02:42 -0500105
106 Mostly bug fixes, the big enhancement is the addition of proper Vary: header
107 handling. Thanks to Chris Dent for that change.
108
109 The other big change is the build process for distributions so that both python2 and python3
110 are included in the same .tar.gz/.zip file.
111
Joe Gregorio66611ff2009-07-19 01:32:17 -04001120.5.0
113
114 Added Python 3 support
115
116 Fixed the following bugs:
117
Jason R. Coombs43840892011-08-09 10:30:46 -0400118 #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
Joe Gregorio66611ff2009-07-19 01:32:17 -0400119 #39 - Deprecation warnings in Python 2.6
Joe Gregorio891439e2009-07-28 10:52:36 -0400120 #54 - Http.request fails accesing Google account via http proxy
Joe Gregorio66611ff2009-07-19 01:32:17 -0400121 #56 - Block on response.read() for HEAD requests.
122 #57 - Timeout ignore for Python 2.6
123 #58 - Fixed parsing of Cache-Control: header to make it more robust
124
Joe Gregorio891439e2009-07-28 10:52:36 -0400125 Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.
Joe Gregorio66611ff2009-07-19 01:32:17 -0400126
joe.gregorio5fcc1992007-10-23 15:12:17 +00001270.4.0
jcgregorio14644372007-07-30 14:13:37 +0000128
joe.gregorio5fcc1992007-10-23 15:12:17 +0000129 Added support for proxies if the Socksipy module is installed.
130
Jason R. Coombs43840892011-08-09 10:30:46 -0400131 Fixed bug with some HEAD responses having content-length set to
joe.gregorio5fcc1992007-10-23 15:12:17 +0000132 zero incorrectly.
133
134 Fixed most except's to catch a specific exception.
jcgregorio14644372007-07-30 14:13:37 +0000135
136 Added 'connection_type' parameter to Http.request().
Jason R. Coombs43840892011-08-09 10:30:46 -0400137
joe.gregorio5fcc1992007-10-23 15:12:17 +0000138 The default for 'force_exception_to_status_code' was changed to False. Defaulting
139 to True was causing quite a bit of confusion.
jcgregorio14644372007-07-30 14:13:37 +0000140
141
jcgregorio463a8db2007-03-09 03:27:14 +00001420.3.0
143 Calling Http.request() with a relative URI, as opposed to an absolute URI,
144 will now throw a specific exception.
145
146 Http() now has an additional optional parameter for the socket timeout.
147
148 Exceptions can now be forced into responses. That is, instead of
149 throwing an exception, a good httlib2.Response object is returned
150 that describe the error with an appropriate status code.
151
152 Many improvements to the file cache:
153
Jason R. Coombs43840892011-08-09 10:30:46 -0400154 1. The names in the cache are now much less
jcgregorio463a8db2007-03-09 03:27:14 +0000155 opaque, which should help with debugging.
156
Jason R. Coombs43840892011-08-09 10:30:46 -0400157 2. The disk cache is now Apache mod_asis compatible.
158
jcgregorio463a8db2007-03-09 03:27:14 +0000159 3. A Content-Location: header is supplied and stored in the
160 cache which points to the original requested URI.
161
162 User supplied If-* headers now override httplib2 supplied
163 versions.
164
165 IRIs are now fully supported. Note that they MUST be passed in
166 as unicode objects.
167
168 Http.add_credentials() now takes an optional domain to restrict
169 the credentials to being only used on that domain.
170
Jason R. Coombs43840892011-08-09 10:30:46 -0400171 Added Http.add_certificate() which allows setting
jcgregorio463a8db2007-03-09 03:27:14 +0000172 a key and cert for SSL connnections.
173
174 Many other bugs fixed.
175
176
jcgregorioa0713ab2006-07-01 05:21:34 +00001770.2.0
178 Added support for Google Auth.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000179
Jason R. Coombs43840892011-08-09 10:30:46 -0400180 Added experimental support for HMACDigest.
jcgregorioa0713ab2006-07-01 05:21:34 +0000181
jcgregorio92088922006-07-01 05:53:21 +0000182 Added support for a pluggable caching system. Now supports
183 the old system of using the file system and now memcached.
184
Jason R. Coombs43840892011-08-09 10:30:46 -0400185 Added httplib2.debuglevel which turns on debugging.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000186
jcgregorio92088922006-07-01 05:53:21 +0000187 Change Response._previous to Response.previous.
188
189 Addded Http.follow_all_redirects which forces
Jason R. Coombs43840892011-08-09 10:30:46 -0400190 httplib2 to follow all redirects, as opposed to
jcgregorio92088922006-07-01 05:53:21 +0000191 following only the safe redirects. This makes the
192 GData protocol easier to use.
193
194 All known bugs fixed to date.
195
jcgregorio8421f272006-02-14 18:19:51 +00001960.1.1
jcgregorio2d66d4f2006-02-07 05:34:14 +0000197
jcgregorio4177ca12006-02-16 10:50:58 +0000198 Fixed several bugs raised by James Antill:
jcgregorio2d66d4f2006-02-07 05:34:14 +0000199 1. HEAD didn't get an Accept: header added like GET.
200 2. HEAD requests did not use the cache.
201 3. GET requests with Range: headers would erroneously return a full cached response.
jcgregorio8421f272006-02-14 18:19:51 +0000202 4. Subsequent requests to resources that had timed out would raise an exception.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000203 And one feature request for 'method' to default to GET.
204
Jason R. Coombs43840892011-08-09 10:30:46 -0400205 Xavier Verges Farrero supplied what I needed to make the
jcgregorio4177ca12006-02-16 10:50:58 +0000206 library work with Python 2.3.
jcgregorio8421f272006-02-14 18:19:51 +0000207
jcgregorio1eed40f2006-02-15 18:56:46 +0000208 I added distutils based setup.py.
209
Jason R. Coombs43840892011-08-09 10:30:46 -04002100.1 Rev 86
211
jcgregorio2d66d4f2006-02-07 05:34:14 +0000212 Initial Release
213