blob: f74fddb321e952fa863dba85c1e1adb45b79ee0c [file] [log] [blame]
Joe Gregoriof3116552009-12-28 13:02:42 -050010.6.0
2
3 The following issues have been addressed:
4
5 #51 - Failure to handle server legitimately closing connection before request body is fully sent
6 #77 - Duplicated caching test
7 #65 - Transform _normalize_headers into a method of Http class
8 #45 - Vary header
9 #73 - All files in Mercurial are executable
10 #81 - Have a useful .hgignore
11 #78 - Add release tags to the Mercurial repository
12 #67 - HEAD requests cause next request to be retried
13
14 Mostly bug fixes, the big enhancement is the addition of proper Vary: header
15 handling. Thanks to Chris Dent for that change.
16
17 The other big change is the build process for distributions so that both python2 and python3
18 are included in the same .tar.gz/.zip file.
19
Joe Gregorio66611ff2009-07-19 01:32:17 -0400200.5.0
21
22 Added Python 3 support
23
24 Fixed the following bugs:
25
26 #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
27 #39 - Deprecation warnings in Python 2.6
Joe Gregorio891439e2009-07-28 10:52:36 -040028 #54 - Http.request fails accesing Google account via http proxy
Joe Gregorio66611ff2009-07-19 01:32:17 -040029 #56 - Block on response.read() for HEAD requests.
30 #57 - Timeout ignore for Python 2.6
31 #58 - Fixed parsing of Cache-Control: header to make it more robust
32
Joe Gregorio891439e2009-07-28 10:52:36 -040033 Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.
Joe Gregorio66611ff2009-07-19 01:32:17 -040034
joe.gregorio5fcc1992007-10-23 15:12:17 +0000350.4.0
jcgregorio14644372007-07-30 14:13:37 +000036
joe.gregorio5fcc1992007-10-23 15:12:17 +000037 Added support for proxies if the Socksipy module is installed.
38
39 Fixed bug with some HEAD responses having content-length set to
40 zero incorrectly.
41
42 Fixed most except's to catch a specific exception.
jcgregorio14644372007-07-30 14:13:37 +000043
44 Added 'connection_type' parameter to Http.request().
joe.gregorio5fcc1992007-10-23 15:12:17 +000045
46 The default for 'force_exception_to_status_code' was changed to False. Defaulting
47 to True was causing quite a bit of confusion.
jcgregorio14644372007-07-30 14:13:37 +000048
49
jcgregorio463a8db2007-03-09 03:27:14 +0000500.3.0
51 Calling Http.request() with a relative URI, as opposed to an absolute URI,
52 will now throw a specific exception.
53
54 Http() now has an additional optional parameter for the socket timeout.
55
56 Exceptions can now be forced into responses. That is, instead of
57 throwing an exception, a good httlib2.Response object is returned
58 that describe the error with an appropriate status code.
59
60 Many improvements to the file cache:
61
62 1. The names in the cache are now much less
63 opaque, which should help with debugging.
64
65 2. The disk cache is now Apache mod_asis compatible.
66
67 3. A Content-Location: header is supplied and stored in the
68 cache which points to the original requested URI.
69
70 User supplied If-* headers now override httplib2 supplied
71 versions.
72
73 IRIs are now fully supported. Note that they MUST be passed in
74 as unicode objects.
75
76 Http.add_credentials() now takes an optional domain to restrict
77 the credentials to being only used on that domain.
78
79 Added Http.add_certificate() which allows setting
80 a key and cert for SSL connnections.
81
82 Many other bugs fixed.
83
84
jcgregorioa0713ab2006-07-01 05:21:34 +0000850.2.0
86 Added support for Google Auth.
jcgregorio2d66d4f2006-02-07 05:34:14 +000087
jcgregorioa0713ab2006-07-01 05:21:34 +000088 Added experimental support for HMACDigest.
89
jcgregorio92088922006-07-01 05:53:21 +000090 Added support for a pluggable caching system. Now supports
91 the old system of using the file system and now memcached.
92
jcgregorioa0713ab2006-07-01 05:21:34 +000093 Added httplib2.debuglevel which turns on debugging.
jcgregorio2d66d4f2006-02-07 05:34:14 +000094
jcgregorio92088922006-07-01 05:53:21 +000095 Change Response._previous to Response.previous.
96
97 Addded Http.follow_all_redirects which forces
98 httplib2 to follow all redirects, as opposed to
99 following only the safe redirects. This makes the
100 GData protocol easier to use.
101
102 All known bugs fixed to date.
103
jcgregorio8421f272006-02-14 18:19:51 +00001040.1.1
jcgregorio2d66d4f2006-02-07 05:34:14 +0000105
jcgregorio4177ca12006-02-16 10:50:58 +0000106 Fixed several bugs raised by James Antill:
jcgregorio2d66d4f2006-02-07 05:34:14 +0000107 1. HEAD didn't get an Accept: header added like GET.
108 2. HEAD requests did not use the cache.
109 3. GET requests with Range: headers would erroneously return a full cached response.
jcgregorio8421f272006-02-14 18:19:51 +0000110 4. Subsequent requests to resources that had timed out would raise an exception.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000111 And one feature request for 'method' to default to GET.
112
jcgregorio4177ca12006-02-16 10:50:58 +0000113 Xavier Verges Farrero supplied what I needed to make the
114 library work with Python 2.3.
jcgregorio8421f272006-02-14 18:19:51 +0000115
jcgregorio1eed40f2006-02-15 18:56:46 +0000116 I added distutils based setup.py.
117
jcgregorio2d66d4f2006-02-07 05:34:14 +00001180.1 Rev 86
119
120 Initial Release
121