Joe Gregorio | 1af76a6 | 2015-04-09 10:10:39 -0400 | [diff] [blame^] | 1 | 0.9.1 |
| 2 | |
| 3 | 0.9 |
| 4 | Heartbleed |
| 5 | |
Joe Gregorio | ee9ee3c | 2013-03-06 15:31:15 -0500 | [diff] [blame] | 6 | 0.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 Gregorio | 7642017 | 2012-11-12 14:02:58 -0500 | [diff] [blame] | 15 | 0.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 Gregorio | a91406d | 2012-09-11 13:20:44 -0400 | [diff] [blame] | 27 | 0.7.6 |
| 28 | Fixes for App Engine 2.7. |
| 29 | |
Joe Gregorio | ed72cba | 2012-08-28 12:19:28 -0400 | [diff] [blame] | 30 | 0.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 Gregorio | b850bd0 | 2012-03-02 08:37:22 -0800 | [diff] [blame] | 49 | 0.7.3 |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 50 | 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 Gregorio | b850bd0 | 2012-03-02 08:37:22 -0800 | [diff] [blame] | 59 | Issue 179: Allow unicode in proxy hostname. |
| 60 | Issue 194: Added support for setuptools. |
| 61 | Fixes for HTTP CONNECT proxies. |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 62 | |
Joe Gregorio | b2cfdf6 | 2011-06-16 10:11:13 -0400 | [diff] [blame] | 63 | 0.7.1 |
| 64 | Fix failure to install cacerts.txt for 2.x installs. |
| 65 | |
Joe Gregorio | b0c82ca | 2011-06-13 15:13:11 -0400 | [diff] [blame] | 66 | 0.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. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 80 | 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 Gregorio | b0c82ca | 2011-06-13 15:13:11 -0400 | [diff] [blame] | 82 | 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 Gregorio | f311655 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 93 | 0.6.0 |
| 94 | |
| 95 | The following issues have been addressed: |
| 96 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 97 | #51 - Failure to handle server legitimately closing connection before request body is fully sent |
| 98 | #77 - Duplicated caching test |
Joe Gregorio | f311655 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 99 | #65 - Transform _normalize_headers into a method of Http class |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 100 | #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 Gregorio | f311655 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 105 | |
| 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 Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 112 | 0.5.0 |
| 113 | |
| 114 | Added Python 3 support |
| 115 | |
| 116 | Fixed the following bugs: |
| 117 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 118 | #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache |
Joe Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 119 | #39 - Deprecation warnings in Python 2.6 |
Joe Gregorio | 891439e | 2009-07-28 10:52:36 -0400 | [diff] [blame] | 120 | #54 - Http.request fails accesing Google account via http proxy |
Joe Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 121 | #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 Gregorio | 891439e | 2009-07-28 10:52:36 -0400 | [diff] [blame] | 125 | Also fixed a deprecation warning that appeared between Python 3.0 and 3.1. |
Joe Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 126 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 127 | 0.4.0 |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 128 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 129 | Added support for proxies if the Socksipy module is installed. |
| 130 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 131 | Fixed bug with some HEAD responses having content-length set to |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 132 | zero incorrectly. |
| 133 | |
| 134 | Fixed most except's to catch a specific exception. |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 135 | |
| 136 | Added 'connection_type' parameter to Http.request(). |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 137 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 138 | The default for 'force_exception_to_status_code' was changed to False. Defaulting |
| 139 | to True was causing quite a bit of confusion. |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 140 | |
| 141 | |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 142 | 0.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. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 154 | 1. The names in the cache are now much less |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 155 | opaque, which should help with debugging. |
| 156 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 157 | 2. The disk cache is now Apache mod_asis compatible. |
| 158 | |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 159 | 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. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 171 | Added Http.add_certificate() which allows setting |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 172 | a key and cert for SSL connnections. |
| 173 | |
| 174 | Many other bugs fixed. |
| 175 | |
| 176 | |
jcgregorio | a0713ab | 2006-07-01 05:21:34 +0000 | [diff] [blame] | 177 | 0.2.0 |
| 178 | Added support for Google Auth. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 179 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 180 | Added experimental support for HMACDigest. |
jcgregorio | a0713ab | 2006-07-01 05:21:34 +0000 | [diff] [blame] | 181 | |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 182 | Added support for a pluggable caching system. Now supports |
| 183 | the old system of using the file system and now memcached. |
| 184 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 185 | Added httplib2.debuglevel which turns on debugging. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 186 | |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 187 | Change Response._previous to Response.previous. |
| 188 | |
| 189 | Addded Http.follow_all_redirects which forces |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 190 | httplib2 to follow all redirects, as opposed to |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 191 | following only the safe redirects. This makes the |
| 192 | GData protocol easier to use. |
| 193 | |
| 194 | All known bugs fixed to date. |
| 195 | |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 196 | 0.1.1 |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 197 | |
jcgregorio | 4177ca1 | 2006-02-16 10:50:58 +0000 | [diff] [blame] | 198 | Fixed several bugs raised by James Antill: |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 199 | 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. |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 202 | 4. Subsequent requests to resources that had timed out would raise an exception. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 203 | And one feature request for 'method' to default to GET. |
| 204 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 205 | Xavier Verges Farrero supplied what I needed to make the |
jcgregorio | 4177ca1 | 2006-02-16 10:50:58 +0000 | [diff] [blame] | 206 | library work with Python 2.3. |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 207 | |
jcgregorio | 1eed40f | 2006-02-15 18:56:46 +0000 | [diff] [blame] | 208 | I added distutils based setup.py. |
| 209 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 210 | 0.1 Rev 86 |
| 211 | |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 212 | Initial Release |
| 213 | |