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