Joe Gregorio | b2cfdf6 | 2011-06-16 10:11:13 -0400 | [diff] [blame^] | 1 | 0.7.1 |
| 2 | Fix failure to install cacerts.txt for 2.x installs. |
| 3 | |
Joe Gregorio | b0c82ca | 2011-06-13 15:13:11 -0400 | [diff] [blame] | 4 | 0.7.0 |
| 5 | The two major changes in this release are SSL Certificate |
| 6 | checking and App Engine support. By default the certificates |
| 7 | of an HTTPS connection are checked, but that can be disabled |
| 8 | via disable_ssl_certificate_validation. The second change |
| 9 | is that on App Engine there is a new connection object |
| 10 | that utilizes the urlfetch capabilities on App Engine, including |
| 11 | setting timeouts and validating certificates. |
| 12 | |
| 13 | The following issues have been addressed: |
| 14 | |
| 15 | Fixes issue 72. Always lowercase authorization header. |
| 16 | Fix issue 47. Redirects that become a GET should not have a body. |
| 17 | Fixes issue 19. Set Content-location on redirected HEAD requests |
| 18 | Fixes issue 139. Redirect with a GET on 302 regardless of the originating method. |
| 19 | Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII! |
| 20 | Add certificate validation. Work initially started by Christoph Kern. |
| 21 | Set a version number. Fixes issue # 135. |
| 22 | Sync to latest version of socks.py |
| 23 | 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 |
| 24 | Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed |
| 25 | Add default support for optimistic concurrency on PATCH requests |
| 26 | Fixes issue 126. IPv6 under various conditions would fail. |
| 27 | Fixes issue 131. Handle socket.timeout's that occur during send. |
| 28 | proxy support: degrade gracefully when socket.socket is unavailable |
| 29 | |
| 30 | |
Joe Gregorio | f311655 | 2009-12-28 13:02:42 -0500 | [diff] [blame] | 31 | 0.6.0 |
| 32 | |
| 33 | The following issues have been addressed: |
| 34 | |
| 35 | #51 - Failure to handle server legitimately closing connection before request body is fully sent |
| 36 | #77 - Duplicated caching test |
| 37 | #65 - Transform _normalize_headers into a method of Http class |
| 38 | #45 - Vary header |
| 39 | #73 - All files in Mercurial are executable |
| 40 | #81 - Have a useful .hgignore |
| 41 | #78 - Add release tags to the Mercurial repository |
| 42 | #67 - HEAD requests cause next request to be retried |
| 43 | |
| 44 | Mostly bug fixes, the big enhancement is the addition of proper Vary: header |
| 45 | handling. Thanks to Chris Dent for that change. |
| 46 | |
| 47 | The other big change is the build process for distributions so that both python2 and python3 |
| 48 | are included in the same .tar.gz/.zip file. |
| 49 | |
Joe Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 50 | 0.5.0 |
| 51 | |
| 52 | Added Python 3 support |
| 53 | |
| 54 | Fixed the following bugs: |
| 55 | |
| 56 | #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache |
| 57 | #39 - Deprecation warnings in Python 2.6 |
Joe Gregorio | 891439e | 2009-07-28 10:52:36 -0400 | [diff] [blame] | 58 | #54 - Http.request fails accesing Google account via http proxy |
Joe Gregorio | 66611ff | 2009-07-19 01:32:17 -0400 | [diff] [blame] | 59 | #56 - Block on response.read() for HEAD requests. |
| 60 | #57 - Timeout ignore for Python 2.6 |
| 61 | #58 - Fixed parsing of Cache-Control: header to make it more robust |
| 62 | |
Joe Gregorio | 891439e | 2009-07-28 10:52:36 -0400 | [diff] [blame] | 63 | 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] | 64 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 65 | 0.4.0 |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 66 | |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 67 | Added support for proxies if the Socksipy module is installed. |
| 68 | |
| 69 | Fixed bug with some HEAD responses having content-length set to |
| 70 | zero incorrectly. |
| 71 | |
| 72 | Fixed most except's to catch a specific exception. |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 73 | |
| 74 | Added 'connection_type' parameter to Http.request(). |
joe.gregorio | 5fcc199 | 2007-10-23 15:12:17 +0000 | [diff] [blame] | 75 | |
| 76 | The default for 'force_exception_to_status_code' was changed to False. Defaulting |
| 77 | to True was causing quite a bit of confusion. |
jcgregorio | 1464437 | 2007-07-30 14:13:37 +0000 | [diff] [blame] | 78 | |
| 79 | |
jcgregorio | 463a8db | 2007-03-09 03:27:14 +0000 | [diff] [blame] | 80 | 0.3.0 |
| 81 | Calling Http.request() with a relative URI, as opposed to an absolute URI, |
| 82 | will now throw a specific exception. |
| 83 | |
| 84 | Http() now has an additional optional parameter for the socket timeout. |
| 85 | |
| 86 | Exceptions can now be forced into responses. That is, instead of |
| 87 | throwing an exception, a good httlib2.Response object is returned |
| 88 | that describe the error with an appropriate status code. |
| 89 | |
| 90 | Many improvements to the file cache: |
| 91 | |
| 92 | 1. The names in the cache are now much less |
| 93 | opaque, which should help with debugging. |
| 94 | |
| 95 | 2. The disk cache is now Apache mod_asis compatible. |
| 96 | |
| 97 | 3. A Content-Location: header is supplied and stored in the |
| 98 | cache which points to the original requested URI. |
| 99 | |
| 100 | User supplied If-* headers now override httplib2 supplied |
| 101 | versions. |
| 102 | |
| 103 | IRIs are now fully supported. Note that they MUST be passed in |
| 104 | as unicode objects. |
| 105 | |
| 106 | Http.add_credentials() now takes an optional domain to restrict |
| 107 | the credentials to being only used on that domain. |
| 108 | |
| 109 | Added Http.add_certificate() which allows setting |
| 110 | a key and cert for SSL connnections. |
| 111 | |
| 112 | Many other bugs fixed. |
| 113 | |
| 114 | |
jcgregorio | a0713ab | 2006-07-01 05:21:34 +0000 | [diff] [blame] | 115 | 0.2.0 |
| 116 | Added support for Google Auth. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 117 | |
jcgregorio | a0713ab | 2006-07-01 05:21:34 +0000 | [diff] [blame] | 118 | Added experimental support for HMACDigest. |
| 119 | |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 120 | Added support for a pluggable caching system. Now supports |
| 121 | the old system of using the file system and now memcached. |
| 122 | |
jcgregorio | a0713ab | 2006-07-01 05:21:34 +0000 | [diff] [blame] | 123 | Added httplib2.debuglevel which turns on debugging. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 124 | |
jcgregorio | 9208892 | 2006-07-01 05:53:21 +0000 | [diff] [blame] | 125 | Change Response._previous to Response.previous. |
| 126 | |
| 127 | Addded Http.follow_all_redirects which forces |
| 128 | httplib2 to follow all redirects, as opposed to |
| 129 | following only the safe redirects. This makes the |
| 130 | GData protocol easier to use. |
| 131 | |
| 132 | All known bugs fixed to date. |
| 133 | |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 134 | 0.1.1 |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 135 | |
jcgregorio | 4177ca1 | 2006-02-16 10:50:58 +0000 | [diff] [blame] | 136 | Fixed several bugs raised by James Antill: |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 137 | 1. HEAD didn't get an Accept: header added like GET. |
| 138 | 2. HEAD requests did not use the cache. |
| 139 | 3. GET requests with Range: headers would erroneously return a full cached response. |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 140 | 4. Subsequent requests to resources that had timed out would raise an exception. |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 141 | And one feature request for 'method' to default to GET. |
| 142 | |
jcgregorio | 4177ca1 | 2006-02-16 10:50:58 +0000 | [diff] [blame] | 143 | Xavier Verges Farrero supplied what I needed to make the |
| 144 | library work with Python 2.3. |
jcgregorio | 8421f27 | 2006-02-14 18:19:51 +0000 | [diff] [blame] | 145 | |
jcgregorio | 1eed40f | 2006-02-15 18:56:46 +0000 | [diff] [blame] | 146 | I added distutils based setup.py. |
| 147 | |
jcgregorio | 2d66d4f | 2006-02-07 05:34:14 +0000 | [diff] [blame] | 148 | 0.1 Rev 86 |
| 149 | |
| 150 | Initial Release |
| 151 | |