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: download example |
5 | TODO: GET => POST like mozilla does it, not like the rfc does it? |
|
|
6 | TODO: maybe support broken Expires header? |
|
|
7 | |
5 | |
8 | TODO: header liens end in \r |
6 | 2.0 Tue Jan 4 09:16:56 CET 2011 |
|
|
7 | - hopefully fully upgraded to HTTP/1.1. |
|
|
8 | - support HTTP/1.1 persistent and HTTP/1.0 keep-alive connections. |
|
|
9 | - drop https-proxy-connection support. seems unused and ill-specified. |
|
|
10 | - use more differentiated status 59x codes. |
|
|
11 | - properly use url hostname to verify server certificate. |
|
|
12 | - much improved cookie implementation: |
|
|
13 | - properly implement cookie expiry (for new cookies). |
|
|
14 | - new function to expire cookies and sessions: cookie_jar_expire. |
|
|
15 | - add special exception to parse broken expires= keys in |
|
|
16 | set-cookie headers. |
|
|
17 | - do not quote cookie values when not strictly necessary, to |
|
|
18 | improve compatibility with broken servers. |
|
|
19 | - accept and send lots of invalid cookie values exactly as |
|
|
20 | they were received - this should not impact valid values. |
|
|
21 | - lowercase cookie parameter names for improved compatibility. |
|
|
22 | - support the max-age cookie parameter, used if expires is missing. |
|
|
23 | - support cookie dates (and a few others) in parse_date. |
|
|
24 | - suppoer value-less parameters (e.g. secure, httponly). |
|
|
25 | - do not send Host: header in a proxy CONNECT request. |
|
|
26 | - use common::sense. |
|
|
27 | - lowercase hostnames and schemes. |
|
|
28 | - ignore leading zeroes in http version. |
|
|
29 | - handle spaces in content-length headers more gracefully. |
|
|
30 | |
|
|
31 | 1.5 Fri Dec 31 04:47:08 CET 2010 |
|
|
32 | - bugfix: after headers were received, if any error occured the wrong |
|
|
33 | (server-sent) Status and Reason fields would be passed to the callback. |
|
|
34 | - when an error occurs during transfer, preserve status/reason. |
|
|
35 | - add socks4a connect example. |
|
|
36 | - new "tcp_connect" parameter. |
|
|
37 | - new format_date and parse_date functions. |
|
|
38 | - diagnose unexpected eof as such when the length is known. |
|
|
39 | - add 205 to the responses without body. |
|
|
40 | |
|
|
41 | 1.46 Mon Sep 6 08:29:34 CEST 2010 |
9 | - some (broken) servers differentiate between empty search parts |
42 | - some (broken) servers differentiate between empty search parts |
10 | and nonexistant search parts, work around this (problem |
43 | and nonexistant search parts, work around this (problem |
11 | analyzed by Sergey Zasenko). |
44 | analyzed by Sergey Zasenko). |
12 | - possibly increase robustness by always setting an on_error |
45 | - possibly increase robustness by always setting an on_error |
13 | callback ont he AnyEvent::Handle object. |
46 | callback on the AnyEvent::Handle object (especially in case |
|
|
47 | of user errors, such as nehative timeouts). |
|
|
48 | - we now always follow 301/302/303 redirects and mutate POST to GET. |
|
|
49 | - we now always follow 307 redirects, even for POST. |
|
|
50 | - header-less responses are not parsed correctly (at a negative |
|
|
51 | speed penatly :). |
14 | |
52 | |
15 | 1.45 Wed Jun 16 21:15:26 CEST 2010 |
53 | 1.45 Wed Jun 16 21:15:26 CEST 2010 |
16 | - fix a bug where the handle would go away directly after a successful |
54 | - fix a bug where the handle would go away directly after a successful |
17 | connect (analyzed and patch by Maxim Dounin). |
55 | connect (analyzed and patch by Maxim Dounin). |
18 | - due to popular demand, introduce the Redirect pseudo response header. |
56 | - due to popular demand, introduce the Redirect pseudo response header. |