--- AnyEvent-HTTP/README 2014/06/08 23:33:28 1.25 +++ AnyEvent-HTTP/README 2016/08/28 09:31:29 1.27 @@ -149,6 +149,10 @@ If not specified, then the default proxy is used (see "AnyEvent::HTTP::set_proxy"). + Currently, if your proxy requires authorization, you have to + specify an appropriate "Proxy-Authorization" header in every + request. + body => $string The request body, usually empty. Will be sent as-is (future versions of this module might offer more options). @@ -395,8 +399,8 @@ additionally call this function from time to time. A cookie jar is initially an empty hash-reference that is managed by - this module. It's format is subject to change, but currently it is - like this: + this module. Its format is subject to change, but currently it is as + follows: The key "version" has to contain 1, otherwise the hash gets emptied. All other keys are hostnames or IP addresses pointing to @@ -447,7 +451,7 @@ $AnyEvent::HTTP::MAX_PER_HOST The maximum number of concurrent connections to the same host - (identified by the hostname). If the limit is exceeded, then the + (identified by the hostname). If the limit is exceeded, then additional requests are queued until previous connections are closed. Both persistent and non-persistent connections are counted in this limit. @@ -498,8 +502,6 @@ my %hdr; my $ofs = 0; - warn stat $fh; - warn -s _; if (stat $fh and -s _) { $ofs = -s _; warn "-s is ", $ofs; @@ -537,7 +539,7 @@ my $status = $hdr->{Status}; if (my $time = AnyEvent::HTTP::parse_date $hdr->{"last-modified"}) { - utime $fh, $time, $time; + utime $time, $time, $fh; } if ($status == 200 || $status == 206 || $status == 416) {