CHANGELOG 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. 0.8
  2. More fixes for the App Engine support.
  3. Added a new feature that allows you to supply your own provider for the
  4. CA_CERTS file. Just create a module named ca_certs_locater that has a method
  5. get() that returns the file location of the CA_CERTS file.
  6. Lots of clean up of the code formatting to make it more consistent.
  7. 0.7.7
  8. More fixes for App Engine, now less likely to swallow important exceptions.
  9. Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/.
  10. Added GeoTrust cert
  11. Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/
  12. The following issues have been fixed:
  13. 229 python3 httplib2 clobbers multiple headers of same key
  14. 230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError
  15. 231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes
  16. 0.7.6
  17. Fixes for App Engine 2.7.
  18. 0.7.5
  19. Keys are lowercase in a Response object, regardless of how Response object is constructed.
  20. Add control so that Authorization: headers aren't forwarded on a 3xx response by default.
  21. Set the reason correctly when running on App Engine. Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/
  22. Fix proxy socks for SSL connections. Fixes issue #199.
  23. You can now set httplib2.RETRIES to the number of retries before a request
  24. is considered to fail It is set to a default of 2 to mimic the traditional
  25. behavior of httplib2.
  26. The following issues have been addressed:
  27. 223 HEAD requests fail calling the close() method of ResponseDict instance.
  28. 222 Can't disable cert validation in appengine
  29. 204 Credentials can leak in HTTP redirects
  30. 210 Different API between Python 2 and Python 3 version breaks wsgi_intercept
  31. 214 ValueError on malformated cache entries
  32. 204 Credentials can leak in HTTP redirects
  33. 0.7.3
  34. ProxyInfo objects now can construct themselves from environment
  35. variables commonly-used in Unix environments. By default, the Http
  36. class will construct a ProxyInfo instance based on these environment
  37. variables. To achieve the previous behavior, where environment
  38. variables are ignored, pass proxy_info=None to Http().
  39. The following issues have been addressed:
  40. Issue 159: automatic detection of proxy configuration.
  41. Issue 179: Allow unicode in proxy hostname.
  42. Issue 194: Added support for setuptools.
  43. Fixes for HTTP CONNECT proxies.
  44. 0.7.1
  45. Fix failure to install cacerts.txt for 2.x installs.
  46. 0.7.0
  47. The two major changes in this release are SSL Certificate
  48. checking and App Engine support. By default the certificates
  49. of an HTTPS connection are checked, but that can be disabled
  50. via disable_ssl_certificate_validation. The second change
  51. is that on App Engine there is a new connection object
  52. that utilizes the urlfetch capabilities on App Engine, including
  53. setting timeouts and validating certificates.
  54. The following issues have been addressed:
  55. Fixes issue 72. Always lowercase authorization header.
  56. Fix issue 47. Redirects that become a GET should not have a body.
  57. Fixes issue 19. Set Content-location on redirected HEAD requests
  58. Fixes issue 139. Redirect with a GET on 302 regardless of the originating method.
  59. Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII!
  60. Add certificate validation. Work initially started by Christoph Kern.
  61. Set a version number. Fixes issue # 135.
  62. Sync to latest version of socks.py
  63. 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
  64. Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed
  65. Add default support for optimistic concurrency on PATCH requests
  66. Fixes issue 126. IPv6 under various conditions would fail.
  67. Fixes issue 131. Handle socket.timeout's that occur during send.
  68. proxy support: degrade gracefully when socket.socket is unavailable
  69. 0.6.0
  70. The following issues have been addressed:
  71. #51 - Failure to handle server legitimately closing connection before request body is fully sent
  72. #77 - Duplicated caching test
  73. #65 - Transform _normalize_headers into a method of Http class
  74. #45 - Vary header
  75. #73 - All files in Mercurial are executable
  76. #81 - Have a useful .hgignore
  77. #78 - Add release tags to the Mercurial repository
  78. #67 - HEAD requests cause next request to be retried
  79. Mostly bug fixes, the big enhancement is the addition of proper Vary: header
  80. handling. Thanks to Chris Dent for that change.
  81. The other big change is the build process for distributions so that both python2 and python3
  82. are included in the same .tar.gz/.zip file.
  83. 0.5.0
  84. Added Python 3 support
  85. Fixed the following bugs:
  86. #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
  87. #39 - Deprecation warnings in Python 2.6
  88. #54 - Http.request fails accesing Google account via http proxy
  89. #56 - Block on response.read() for HEAD requests.
  90. #57 - Timeout ignore for Python 2.6
  91. #58 - Fixed parsing of Cache-Control: header to make it more robust
  92. Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.
  93. 0.4.0
  94. Added support for proxies if the Socksipy module is installed.
  95. Fixed bug with some HEAD responses having content-length set to
  96. zero incorrectly.
  97. Fixed most except's to catch a specific exception.
  98. Added 'connection_type' parameter to Http.request().
  99. The default for 'force_exception_to_status_code' was changed to False. Defaulting
  100. to True was causing quite a bit of confusion.
  101. 0.3.0
  102. Calling Http.request() with a relative URI, as opposed to an absolute URI,
  103. will now throw a specific exception.
  104. Http() now has an additional optional parameter for the socket timeout.
  105. Exceptions can now be forced into responses. That is, instead of
  106. throwing an exception, a good httlib2.Response object is returned
  107. that describe the error with an appropriate status code.
  108. Many improvements to the file cache:
  109. 1. The names in the cache are now much less
  110. opaque, which should help with debugging.
  111. 2. The disk cache is now Apache mod_asis compatible.
  112. 3. A Content-Location: header is supplied and stored in the
  113. cache which points to the original requested URI.
  114. User supplied If-* headers now override httplib2 supplied
  115. versions.
  116. IRIs are now fully supported. Note that they MUST be passed in
  117. as unicode objects.
  118. Http.add_credentials() now takes an optional domain to restrict
  119. the credentials to being only used on that domain.
  120. Added Http.add_certificate() which allows setting
  121. a key and cert for SSL connnections.
  122. Many other bugs fixed.
  123. 0.2.0
  124. Added support for Google Auth.
  125. Added experimental support for HMACDigest.
  126. Added support for a pluggable caching system. Now supports
  127. the old system of using the file system and now memcached.
  128. Added httplib2.debuglevel which turns on debugging.
  129. Change Response._previous to Response.previous.
  130. Addded Http.follow_all_redirects which forces
  131. httplib2 to follow all redirects, as opposed to
  132. following only the safe redirects. This makes the
  133. GData protocol easier to use.
  134. All known bugs fixed to date.
  135. 0.1.1
  136. Fixed several bugs raised by James Antill:
  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.
  140. 4. Subsequent requests to resources that had timed out would raise an exception.
  141. And one feature request for 'method' to default to GET.
  142. Xavier Verges Farrero supplied what I needed to make the
  143. library work with Python 2.3.
  144. I added distutils based setup.py.
  145. 0.1 Rev 86
  146. Initial Release