1 | Revision history for AnyEvent::HTTP |
1 | Revision history for AnyEvent::HTTP |
2 | |
2 | |
3 | TODO: provide lwp_request function that takes an lwp http requets and returns a http response. |
3 | TODO: provide lwp_request function that takes an lwp http requets and returns a http response. |
4 | TODO: when recurse as initially true, geenerate error on rediretc loops etc. |
4 | TODO: httpbis: $location = URI->new_abs($location, "$scheme://$host:$port$path_query")->as_string; |
5 | TODO: http://efl20.com/wp-register.php refresh-header, instead of location |
5 | TODO: set_proxy hook |
|
|
6 | TODO: use proxy hook |
6 | |
7 | |
7 | TODO: maybe support broken Expires header? |
8 | 2.14 Sun Apr 22 14:57:51 CEST 2012 |
|
|
9 | - Time::Local::timegm croaks on out-of-range values. Don't let |
|
|
10 | this disturb AnyEvent::HTTP (reported by: tell me, I forgot...). |
|
|
11 | |
|
|
12 | 2.13 Wed Jul 27 17:53:58 CEST 2011 |
|
|
13 | - garbled chunked responses caused AnyEvent::HTTP to malfunction |
|
|
14 | (patch by Dmitri Melikyan). |
|
|
15 | - fix GET => HEAD in one case in the documentation (James Bromberger). |
|
|
16 | |
|
|
17 | 2.12 Tue Jun 14 07:22:54 CEST 2011 |
|
|
18 | - fix a possible 'Can't call method "destroyed"' error (which would |
|
|
19 | have been reported by Carl Chambers). |
|
|
20 | |
|
|
21 | 2.11 Tue May 10 14:33:28 CEST 2011 |
|
|
22 | - the keepalive session cache wouldn't take port and scheme into account |
|
|
23 | when reusing connection - potentially causing information leaks |
|
|
24 | (reported by Nick Kostirya). |
|
|
25 | - bump AnyEvent dependency version (reported by Richard Harris). |
|
|
26 | |
|
|
27 | 2.1 Thu Feb 24 13:11:51 CET 2011 |
|
|
28 | - the keepalive and persistent parameters were actually named |
|
|
29 | differently in the code - they now work as documented. |
|
|
30 | - fix a bug where callbacks would sometimes never be called when |
|
|
31 | the request timeout is near or below the persistent connection |
|
|
32 | timeout (testcase by Cindy Wang). |
|
|
33 | - destroying the guard would have no effect when a request was |
|
|
34 | recursing or being retired. |
|
|
35 | |
|
|
36 | 2.04 Sat Feb 19 07:45:24 CET 2011 |
|
|
37 | - "proxy => undef" now overrides any global proxy when specified. |
|
|
38 | - require scheme in urls, also use a stricter match to match urls, |
|
|
39 | leading or trailing garbage is no longer tolerated. |
|
|
40 | - EXPERIMENTAL: allow '=' in cookie values. |
|
|
41 | |
|
|
42 | 2.03 Tue Jan 18 18:49:35 CET 2011 |
|
|
43 | - dummy reupload, file gone from cpan somehow. |
|
|
44 | |
|
|
45 | 2.02 Wed Jan 12 04:29:37 CET 2011 |
|
|
46 | - do not lowercase cookie names, only parameter names. |
|
|
47 | |
|
|
48 | 2.01 Tue Jan 11 07:38:15 CET 2011 |
|
|
49 | - add missing dependency on common::sense. |
|
|
50 | - add a resume download example. |
|
|
51 | |
|
|
52 | 2.0 Tue Jan 4 09:16:56 CET 2011 |
|
|
53 | - hopefully fully upgraded to HTTP/1.1. |
|
|
54 | - support HTTP/1.1 persistent and HTTP/1.0 keep-alive connections. |
|
|
55 | - drop https-proxy-connection support. seems unused and ill-specified. |
|
|
56 | - use more differentiated 59x status codes. |
|
|
57 | - properly use url (not proxy) hostname to verify server certificate. |
|
|
58 | - much improved cookie implementation: |
|
|
59 | - properly implement cookie expiry (for new cookies). |
|
|
60 | - new function to expire cookies and sessions: cookie_jar_expire. |
|
|
61 | - add special exception to parse broken expires= keys in |
|
|
62 | set-cookie headers. |
|
|
63 | - do not quote cookie values when not strictly necessary, to |
|
|
64 | improve compatibility with broken servers. |
|
|
65 | - accept and send lots of invalid cookie values exactly as |
|
|
66 | they were received - this should not impact valid values. |
|
|
67 | - lowercase cookie parameter names for improved compatibility. |
|
|
68 | - support the max-age cookie parameter, overrides expires. |
|
|
69 | - support cookie dates (and a few others) in parse_date. |
|
|
70 | - properly support value-less parameters (e.g. secure, httponly). |
|
|
71 | - do not send Host: header in a proxy CONNECT request. |
|
|
72 | - use common::sense. |
|
|
73 | - lowercase hostnames and schemes. |
|
|
74 | - ignore leading zeroes in http version. |
|
|
75 | - handle spaces in content-length headers more gracefully. |
|
|
76 | |
|
|
77 | 1.5 Fri Dec 31 04:47:08 CET 2010 |
|
|
78 | - bugfix: after headers were received, if any error occured the wrong |
|
|
79 | (server-sent) Status and Reason fields would be passed to the callback. |
|
|
80 | - when an error occurs during transfer, preserve status/reason. |
|
|
81 | - add socks4a connect example. |
|
|
82 | - new "tcp_connect" parameter. |
|
|
83 | - new format_date and parse_date functions. |
|
|
84 | - diagnose unexpected eof as such when the length is known. |
|
|
85 | - add 205 to the responses without body. |
|
|
86 | |
|
|
87 | 1.46 Mon Sep 6 08:29:34 CEST 2010 |
|
|
88 | - some (broken) servers differentiate between empty search parts |
|
|
89 | and nonexistant search parts, work around this (problem |
|
|
90 | analyzed by Sergey Zasenko). |
|
|
91 | - possibly increase robustness by always setting an on_error |
|
|
92 | callback on the AnyEvent::Handle object (especially in case |
|
|
93 | of user errors, such as nehative timeouts). |
|
|
94 | - we now always follow 301/302/303 redirects and mutate POST to GET. |
|
|
95 | - we now always follow 307 redirects, even for POST. |
|
|
96 | - header-less responses are not parsed correctly (at a negative |
|
|
97 | speed penatly :). |
|
|
98 | |
|
|
99 | 1.45 Wed Jun 16 21:15:26 CEST 2010 |
|
|
100 | - fix a bug where the handle would go away directly after a successful |
|
|
101 | connect (analyzed and patch by Maxim Dounin). |
|
|
102 | - due to popular demand, introduce the Redirect pseudo response header. |
|
|
103 | - document URL pseudo-header better. |
|
|
104 | - explain how to implement DNS caching. |
|
|
105 | |
8 | 1.44 Sat Dec 5 16:36:20 CET 2009 |
106 | 1.44 Sat Dec 5 16:36:20 CET 2009 |
9 | - do not generate content-length on get requests (if the body is empty), |
107 | - do not generate content-length on get requests (if the body is empty), |
10 | as there are even more broken servers out there. |
108 | as there are even more broken servers out there. |
11 | - allow set_proxy to clear the proxy again. |
109 | - allow set_proxy to clear the proxy again. |
12 | - set_proxy will now croak on invalid urls. |
110 | - set_proxy will now croak on invalid urls. |
… | |
… | |
14 | |
112 | |
15 | 1.43 Fri Aug 14 17:02:02 CEST 2009 |
113 | 1.43 Fri Aug 14 17:02:02 CEST 2009 |
16 | - provide on_prepare callback on common request. |
114 | - provide on_prepare callback on common request. |
17 | |
115 | |
18 | 1.42 Wed Aug 5 18:43:01 CEST 2009 |
116 | 1.42 Wed Aug 5 18:43:01 CEST 2009 |
19 | - allow suppression of auto-supplied header fieds by specifying undef |
117 | - allow suppression of auto-supplied header fields by specifying undef |
20 | (requested by Mr Guest). |
118 | (requested by Mr Guest). |
21 | - allow proxy scheme to be missing, as documented |
119 | - allow proxy scheme to be missing, as documented |
22 | (reported by Mr Guest). |
120 | (reported by Mr Guest). |
23 | - do not follow redirects if we do not have a location header |
121 | - do not follow redirects if we do not have a location header |
24 | (requested by Mr Guest). |
122 | (requested by Mr Guest). |