Joe Gregorio | 1af76a6 | 2015-04-09 10:10:39 -0400 | [diff] [blame] | 1 | 0.9.1 |
| 2 | |
Joe Gregorio | f9f7972 | 2015-04-11 09:50:15 -0400 | [diff] [blame] | 3 | Fixes in this release: |
| 4 | |
| 5 | https://github.com/jcgregorio/httplib2/pull/296 |
| 6 | |
| 7 | There was a problem with headers when a binary string is passed (like |
| 8 | b'Authorization'). |
| 9 | |
| 10 | https://github.com/jcgregorio/httplib2/pull/276 |
| 11 | |
| 12 | Default to doing DNS resolution through a proxy server if present. |
| 13 | |
Joe Gregorio | 1af76a6 | 2015-04-09 10:10:39 -0400 | [diff] [blame] | 14 | 0.9 |
| 15 | Heartbleed |
| 16 | |
Joe Gregorio | ee9ee3c | 2013-03-06 15:31:15 -0500 | [diff] [blame] | 17 | 0.8 |
| 18 | More fixes for the App Engine support. |
| 19 | |
| 20 | Added a new feature that allows you to supply your own provider for the |
| 21 | CA_CERTS file. Just create a module named ca_certs_locater that has a method |
| 22 | get() that returns the file location of the CA_CERTS file. |
| 23 | |
| 24 | Lots of clean up of the code formatting to make it more consistent. |
| 25 | |
Joe Gregorio | 7642017 | 2012-11-12 14:02:58 -0500 | [diff] [blame] | 26 | 0.7.7 |
| 27 | More fixes for App Engine, now less likely to swallow important exceptions. |
| 28 | Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/. |
| 29 | Added GeoTrust cert |
| 30 | Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/ |
| 31 | |
| 32 | The following issues have been fixed: |
| 33 | |
| 34 | 229 python3 httplib2 clobbers multiple headers of same key |
| 35 | 230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError |
| 36 | 231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes |
| 37 | |
Joe Gregorio | a91406d | 2012-09-11 13:20:44 -0400 | [diff] [blame] | 38 | 0.7.6 |
| 39 | Fixes for App Engine 2.7. |
| 40 | |
Joe Gregorio | ed72cba | 2012-08-28 12:19:28 -0400 | [diff] [blame] | 41 | 0.7.5 |
| 42 | Keys are lowercase in a Response object, regardless of how Response object is constructed. |
| 43 | Add control so that Authorization: headers aren't forwarded on a 3xx response by default. |
| 44 | Set the reason correctly when running on App Engine. Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/ |
| 45 | Fix proxy socks for SSL connections. Fixes issue #199. |
| 46 | You can now set httplib2.RETRIES to the number of retries before a request |
| 47 | is considered to fail It is set to a default of 2 to mimic the traditional |
| 48 | behavior of httplib2. |
| 49 | |
| 50 | The following issues have been addressed: |
| 51 | |
| 52 | 223 HEAD requests fail calling the close() method of ResponseDict instance. |
| 53 | 222 Can't disable cert validation in appengine |
| 54 | 204 Credentials can leak in HTTP redirects |
| 55 | 210 Different API between Python 2 and Python 3 version breaks wsgi_intercept |
| 56 | 214 ValueError on malformated cache entries |
| 57 | 204 Credentials can leak in HTTP redirects |
| 58 | |
| 59 | |
Joe Gregorio | b850bd0 | 2012-03-02 08:37:22 -0800 | [diff] [blame] | 60 | 0.7.3 |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 61 | ProxyInfo objects now can construct themselves from environment |
| 62 | variables commonly-used in Unix environments. By default, the Http |
| 63 | class will construct a ProxyInfo instance based on these environment |
| 64 | variables. To achieve the previous behavior, where environment |
| 65 | variables are ignored, pass proxy_info=None to Http(). |
| 66 | |
| 67 | The following issues have been addressed: |
| 68 | |
| 69 | Issue 159: automatic detection of proxy configuration. |
Joe Gregorio | b850bd0 | 2012-03-02 08:37:22 -0800 | [diff] [blame] | 70 | Issue 179: Allow unicode in proxy hostname. |
| 71 | Issue 194: Added support for setuptools. |
| 72 | Fixes for HTTP CONNECT proxies. |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 73 | |
Joe Gregorio | b2cfdf6 | 2011-06-16 10:11:13 -0400 | [diff] [blame] | 74 | 0.7.1 |
| 75 | Fix failure to install cacerts.txt for 2.x installs. |
| 76 | |
Joe Gregorio | b0c82ca | 2011-06-13 15:13:11 -0400 | [diff] [blame] | 77 | 0.7.0 |
| 78 | The two major changes in this release are SSL Certificate |
| 79 | checking and App Engine support. By default the certificates |
| 80 | of an HTTPS connection are checked, but that can be disabled |
| 81 | via disable_ssl_certificate_validation. The second change |
| 82 | is that on App Engine there is a new connection object |
| 83 | that utilizes the urlfetch capabilities on App Engine, including |
| 84 | setting timeouts and validating certificates. |
| 85 | |
| 86 | The following issues have been addressed: |
| 87 | |
| 88 | Fixes issue 72. Always lowercase authorization header. |
| 89 | Fix issue 47. Redirects that become a GET should not have a body. |
| 90 | Fixes issue 19. Set Content-location on redirected HEAD requests |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 91 | Fixes issue 139. Redirect with a GET on 302 regardless of the originating method. |
| 92 | 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] | 93 | Add certificate validation. Work initially started by Christoph Kern. |
| 94 | Set a version number. Fixes issue # 135. |
| 95 | Sync to latest version of socks.py |
| 96 | 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 |
| 97 | Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed |
| 98 | Add default support for optimistic concurrency on PATCH requests |
| 99 | Fixes issue 126. IPv6 under various conditions would fail. |
| 100 | Fixes issue 131. Handle socket.timeout's that occur during send. |
| 101 | proxy support: degrade gracefully when socket.socket is unavailable |
| 102 | |
| 103 | |
Joe Gregorio | f311655 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 104 | 0.6.0 |
| 105 | |
| 106 | The following issues have been addressed: |
| 107 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 108 | #51 - Failure to handle server legitimately closing connection before request body is fully sent |
| 109 | #77 - Duplicated caching test |
Joe Gregorio | f311655 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 110 | #65 - Transform _normalize_headers into a method of Http class |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 111 | #45 - Vary header |
| 112 | #73 - All files in Mercurial are executable |
| 113 | #81 - Have a useful .hgignore |
| 114 | #78 - Add release tags to the Mercurial repository |
| 115 | #67 - HEAD requests cause next request to be retried |
Joe Gregorio | f311655 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 116 | |
| 117 | Mostly bug fixes, the big enhancement is the addition of proper Vary: header |
| 118 | handling. Thanks to Chris Dent for that change. |
| 119 | |
| 120 | The other big change is the build process for distributions so that both python2 and python3 |
| 121 | are included in the same .tar.gz/.zip file. |
| 122 | |
Joe Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 123 | 0.5.0 |
| 124 | |
| 125 | Added Python 3 support |
| 126 | |
| 127 | Fixed the following bugs: |
| 128 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 129 | #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] | 130 | #39 - Deprecation warnings in Python 2.6 |
Joe Gregorio | 891439e | 2009-07-28 10:52:36 -0400 | [diff] [blame] | 131 | #54 - Http.request fails accesing Google account via http proxy |
Joe Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 132 | #56 - Block on response.read() for HEAD requests. |
| 133 | #57 - Timeout ignore for Python 2.6 |
| 134 | #58 - Fixed parsing of Cache-Control: header to make it more robust |
| 135 | |
Joe Gregorio | 891439e | 2009-07-28 10:52:36 -0400 | [diff] [blame] | 136 | 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] | 137 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 138 | 0.4.0 |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 139 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 140 | Added support for proxies if the Socksipy module is installed. |
| 141 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 142 | Fixed bug with some HEAD responses having content-length set to |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 143 | zero incorrectly. |
| 144 | |
| 145 | Fixed most except's to catch a specific exception. |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 146 | |
| 147 | Added 'connection_type' parameter to Http.request(). |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 148 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 149 | The default for 'force_exception_to_status_code' was changed to False. Defaulting |
| 150 | to True was causing quite a bit of confusion. |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 151 | |
| 152 | |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 153 | 0.3.0 |
| 154 | Calling Http.request() with a relative URI, as opposed to an absolute URI, |
| 155 | will now throw a specific exception. |
| 156 | |
| 157 | Http() now has an additional optional parameter for the socket timeout. |
| 158 | |
| 159 | Exceptions can now be forced into responses. That is, instead of |
| 160 | throwing an exception, a good httlib2.Response object is returned |
| 161 | that describe the error with an appropriate status code. |
| 162 | |
| 163 | Many improvements to the file cache: |
| 164 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 165 | 1. The names in the cache are now much less |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 166 | opaque, which should help with debugging. |
| 167 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 168 | 2. The disk cache is now Apache mod_asis compatible. |
| 169 | |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 170 | 3. A Content-Location: header is supplied and stored in the |
| 171 | cache which points to the original requested URI. |
| 172 | |
| 173 | User supplied If-* headers now override httplib2 supplied |
| 174 | versions. |
| 175 | |
| 176 | IRIs are now fully supported. Note that they MUST be passed in |
| 177 | as unicode objects. |
| 178 | |
| 179 | Http.add_credentials() now takes an optional domain to restrict |
| 180 | the credentials to being only used on that domain. |
| 181 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 182 | Added Http.add_certificate() which allows setting |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 183 | a key and cert for SSL connnections. |
| 184 | |
| 185 | Many other bugs fixed. |
| 186 | |
| 187 | |
jcgregorio | a0713ab | 2006-07-01 05:21:34 +0000 | [diff] [blame] | 188 | 0.2.0 |
| 189 | Added support for Google Auth. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 190 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 191 | Added experimental support for HMACDigest. |
jcgregorio | a0713ab | 2006-07-01 05:21:34 +0000 | [diff] [blame] | 192 | |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 193 | Added support for a pluggable caching system. Now supports |
| 194 | the old system of using the file system and now memcached. |
| 195 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 196 | Added httplib2.debuglevel which turns on debugging. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 197 | |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 198 | Change Response._previous to Response.previous. |
| 199 | |
| 200 | Addded Http.follow_all_redirects which forces |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 201 | httplib2 to follow all redirects, as opposed to |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 202 | following only the safe redirects. This makes the |
| 203 | GData protocol easier to use. |
| 204 | |
| 205 | All known bugs fixed to date. |
| 206 | |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 207 | 0.1.1 |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 208 | |
jcgregorio | 4177ca1 | 2006-02-16 10:50:58 +0000 | [diff] [blame] | 209 | Fixed several bugs raised by James Antill: |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 210 | 1. HEAD didn't get an Accept: header added like GET. |
| 211 | 2. HEAD requests did not use the cache. |
| 212 | 3. GET requests with Range: headers would erroneously return a full cached response. |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 213 | 4. Subsequent requests to resources that had timed out would raise an exception. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 214 | And one feature request for 'method' to default to GET. |
| 215 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 216 | Xavier Verges Farrero supplied what I needed to make the |
jcgregorio | 4177ca1 | 2006-02-16 10:50:58 +0000 | [diff] [blame] | 217 | library work with Python 2.3. |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 218 | |
jcgregorio | 1eed40f | 2006-02-15 18:56:46 +0000 | [diff] [blame] | 219 | I added distutils based setup.py. |
| 220 | |
Jason R. Coombs | 4384089 | 2011-08-09 10:30:46 -0400 | [diff] [blame] | 221 | 0.1 Rev 86 |
| 222 | |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 223 | Initial Release |
| 224 | |