AnyEvent-HTTP

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for AnyEvent::HTTP

TODO: provide lwp_request function that takes an lwp http requets and returns a http response.
TODO: set_proxy hook
TODO: use proxy hook
TODO: on_upgrade, for 101 responses?
TODO: document session vs. sessionid correctly.
TODO: support proxy username:password in both proxy switch and set_proxy string (dzagashev@gmail.com)
TODO: remove "unexpectedly got a destructed handle"

TODO: maybe read big chunks in smaller portions for chunked-encoding + on_body.
TODO: callback as body (Kostirya)
TODO: infinite recursion(?) (Kostirya)
TODO: default rbuf_max value maybe? how about reading large chunks in small parts?
TODO: servers send empty reason, which then gets mangled with linear whitespace CRLF - maybe workaround?

TODO: look into http 0.9 support (Kostirya <kostirya@gmail.com>)
TODO: http://appft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&%23038;d=PG01&%23038;p=1&%23038;u=/netahtml/PTO/srchnum.html&%23038;r=1&%23038;f=G&%23038;l=50&%23038;s1="20110298798".PGNR.&%23038;OS=DN/20110298798&%23038;RS=DN/20110298798
TODO: cookie_jar_extract should refuse when host is an ip literal
TODO: cookie_jar_et_cookie should reject cookies not matching their down server domain
TODO: cookie prefixes? https://tools.ietf.org/html/draft-ietf-httpbis-cookie-prefixes-00
TODO: default rbuf_max limit for header-reading, chunk header reading etc.

2.25 Mon Apr 27 14:11:40 CEST 2020
	- fix incorrectly sending proxy requests to origin servers
          when reusing proxy connections (analyzed and testcase by Ivan Robert).
	- the sessionid parameter was documented as session in random
          places - fix docs and keep using sessionid in the code as before.
	- fix cookie format documentation.

2.24 Thu Aug 30 03:23:03 CEST 2018
	- bring cookie management more in line with RFC 6265; implement idn
          matching for cookie domains.
        - update cookie_jar version to 2, invalidate existing cookie jars.
        - preserve original cookie domain attribute.
        - also expire old cookie jars in cookie parser, just in case.
	- further improve relative redirection code.
        - comment out code that tried to detect possible bugs with persistent
          connection caching, but since it never triggered, it's probably
          working fine :)
	- do not call on_body callback on a response that AE::HTTP will recurse
          on internally (reported by Антон Онуфриев and Ruslan Zakirov).

2.23 Sun Aug 28 11:30:33 CEST 2016
	- relative redirects used the proxy schema instead of the request
          url schema to generate the new url, which is wrong (analyzed by Felix
          Ostmann).
        - fix download example (reported by Felix Ostmann).

2.22 Thu May 14 04:04:03 CEST 2015
	- ipv6 literals were not correctly parsed (analyzed by Raphael Geissert).
	- delete the body when mutating request to GET request when
          redirecting (reported by joe trader).
        - send proxy-authorization header to proxy when using CONNECT
          (reported by dzagashev@gmail.com).
	- do not send Proxy-Authroization header when not using a proxy.
	- when retrying a persistent request, switch persistency off.
        - added t/02_ip_literals.t.

2.21 Mon Jun  9 01:35:54 CEST 2014
	- correctly keep body when redirecting POSTs, instead of
          deleting them.

2.2  Mon Jun  9 01:31:46 CEST 2014
	- connection header was malformed (patch by Raphael Geissert).
	- add lots of known idempotent methods from httpbis.
        - implement relative location headers (rfc 7231), with fallback on URI.
        - add support for status code 308 from rfc 7238.
        - recommend URI.

2.15 Wed Nov 14 23:22:07 CET 2012
	- use the recurse parameter to also limit the number of retries to be
          done, avodiing endless loops with broken servers, as reported
          by Carl Chambers.

2.14 Sun Apr 22 14:57:51 CEST 2012
	- Time::Local::timegm croaks on out-of-range values. Don't let
          this disturb AnyEvent::HTTP (reported by: tell me, I forgot...).

2.13 Wed Jul 27 17:53:58 CEST 2011
	- garbled chunked responses caused AnyEvent::HTTP to malfunction
          (patch by Dmitri Melikyan).
        - fix GET => HEAD in one case in the documentation (James Bromberger).

2.12 Tue Jun 14 07:22:54 CEST 2011
	- fix a possible 'Can't call method "destroyed"' error (which would
          have been reported by Carl Chambers).

2.11 Tue May 10 14:33:28 CEST 2011
	- the keepalive session cache wouldn't take port and scheme into account
          when reusing connection - potentially causing information leaks
          (reported by Nick Kostirya).
	- bump AnyEvent dependency version (reported by Richard Harris).



( run in 0.422 second using v1.01-cache-2.11-cpan-140bd7fdf52 )