http://qs321.pair.com?node_id=1158373


in reply to AnyEvent::HTTP not sending ContentLength ?

%headerArray gets expanded out in this list context, resulting in:

http_request "PUT" => $url, headers=> "Content-Length"=>2345, body=>$content, sub {do stuff here};
which is bad syntax.

Don't have time to research the right syntax now...

        This is not an optical illusion, it just looks like one.