Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: AnyEvent::HTTP not sending ContentLength ?

by NetWallah (Canon)
on Mar 20, 2016 at 19:27 UTC ( #1158373=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1158373]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2022-01-29 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?