--- AnyEvent-HTTP/HTTP.pm 2011/01/11 23:49:37 1.94 +++ AnyEvent-HTTP/HTTP.pm 2011/01/18 17:50:20 1.97 @@ -48,7 +48,7 @@ use base Exporter::; -our $VERSION = '2.01'; +our $VERSION = '2.03'; our @EXPORT = qw(http_get http_post http_head http_request); @@ -548,7 +548,7 @@ $value =~ s/\\(.)/$1/gs; } - push @kv, lc $name, $value; + push @kv, @kv ? lc $name : $name, $value; last unless /\G\s*;/gc; } @@ -1334,7 +1334,7 @@ =head2 HTTP/1.1 FILE DOWNLOAD -Downloading files with HTTP cna be quite tricky, especially when something +Downloading files with HTTP can be quite tricky, especially when something goes wrong and you want tor esume. Here is a function that initiates and resumes a download. It uses the