| 1 |
Revision history for AnyEvent::HTTP |
| 2 |
|
| 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. |
| 5 |
TODO: http://efl20.com/wp-register.php refresh-header, instead of location |
| 6 |
|
| 7 |
1.44 Sat Dec 5 16:36:20 CET 2009 |
| 8 |
- do not generate content-length on get requests (if the body is empty), |
| 9 |
as there are even more broken servers out there. |
| 10 |
- allow set_proxy to clear the proxy again. |
| 11 |
- set_proxy will now croak on invalid urls. |
| 12 |
- support overriding the Host-header (requested by Tatsuhiko Miyagawa). |
| 13 |
|
| 14 |
1.43 Fri Aug 14 17:02:02 CEST 2009 |
| 15 |
- provide on_prepare callback on common request. |
| 16 |
|
| 17 |
1.42 Wed Aug 5 18:43:01 CEST 2009 |
| 18 |
- allow suppression of auto-supplied header fieds by specifying undef |
| 19 |
(requested by Mr Guest). |
| 20 |
- allow proxy scheme to be missing, as documented |
| 21 |
(reported by Mr Guest). |
| 22 |
- do not follow redirects if we do not have a location header |
| 23 |
(requested by Mr Guest). |
| 24 |
|
| 25 |
1.41 Sat Jul 25 03:27:05 CEST 2009 |
| 26 |
- correctly parse completely headerless responses (e.g. by gatling). |
| 27 |
(analysed by Robin Redeker). |
| 28 |
|
| 29 |
1.4 Tue Jul 7 02:14:53 CEST 2009 |
| 30 |
- http_request would not instantly clear the connection slot on |
| 31 |
tcp_connect failures, potentially leading to deadlocks. |
| 32 |
- fix a bug where a connection error is wrongly reported |
| 33 |
as EINPROGRESS. |
| 34 |
- new parameters: on_header, on_body, want_body_handle. |
| 35 |
- redirects will be followed when recurse is enabled whether or not |
| 36 |
the body dowload was successful or not. |
| 37 |
- include :port in Host header when given in the url (many sites break |
| 38 |
when it's always there, and many break if it's missing...). |
| 39 |
- pass the empty string, not undef, when there is no body but |
| 40 |
no error occured. |
| 41 |
- allow passing of tls_ctx, predefine two https security profiles. |
| 42 |
- ucfirst all error messages generated internally. |
| 43 |
- include "U" token in User-Agent. |
| 44 |
- document $AnyEvent::HTTP::MAX_PER_HOST. |
| 45 |
- allow empty field names in response headers (microsoft hits. microsoft |
| 46 |
hits. microsoft hits. you die). |
| 47 |
|
| 48 |
1.12 Thu Jun 11 14:45:18 CEST 2009 |
| 49 |
- $scheme wasn't optional in the proxy specification (reported by |
| 50 |
Felix Antonius Wilhelm Ostmann). |
| 51 |
|
| 52 |
1.11 Fri Nov 21 09:18:11 CET 2008 |
| 53 |
- work around a perl core bug not properly refcounting function arguments, |
| 54 |
causing "200 OK" with random body results (reported by Дмитрий Шалашов). |
| 55 |
|
| 56 |
1.1 Thu Oct 30 04:46:27 CET 2008 |
| 57 |
- work around different behaviour of AnyEvent::Handle in TLS mode. |
| 58 |
- cleanup cookie implementation, many examples and comments were |
| 59 |
provided by Дмитрий Шалашов. |
| 60 |
- document the return values of http_* functions better. |
| 61 |
- separate multiple header values by "," not "\x00" (this does not |
| 62 |
break correctly written users of the old API). |
| 63 |
- improve Set-Cookie: parsing. |
| 64 |
- add experimental https-over-http-proxy support. |
| 65 |
- downgrade https-over-https proxy to https-over-http. |
| 66 |
- ignore spurious CR characters in headers, they show up |
| 67 |
in the weirdest of places. |
| 68 |
- ucfirst the request headers, for a slightly less weird look. |
| 69 |
- work around (some) memleaks in perl regarding qr. |
| 70 |
|
| 71 |
1.05 Mon Sep 29 15:49:58 CEST 2008 |
| 72 |
- fix a regex when parsing cookie domains |
| 73 |
(patch by Дмитрий Шалашов). |
| 74 |
|
| 75 |
1.04 Thu Jul 24 08:00:46 CEST 2008 |
| 76 |
- parse reason-less http status responses. |
| 77 |
- parse more forms of broken location headers. |
| 78 |
|
| 79 |
1.03 Thu Jul 3 03:47:58 CEST 2008 |
| 80 |
- fix http_post, which was totally broken (patch by Pedro Melo). |
| 81 |
- do not recurse on POST requests, as per HTTP/1.[01] (this might |
| 82 |
change as the recommendation isn't followed by anybody else). |
| 83 |
- implement preliminary support for 303/307 redirects. |
| 84 |
|
| 85 |
1.02 Thu Jun 12 13:50:08 CEST 2008 |
| 86 |
- make the request URL available in the callback of http_request. |
| 87 |
- export http_post, http_head. |
| 88 |
|
| 89 |
1.01 Fri Jun 6 14:56:37 CEST 2008 |
| 90 |
- fixed prototypes for http_* functions |
| 91 |
|
| 92 |
1.0 Thu Jun 5 20:41:43 CEST 2008 |
| 93 |
- original version, an AnyEvent::AIO clone. |