Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: AnyEvent::HTTP not sending ContentLength ?

by NetWallah (Canon)
on Mar 20, 2016 at 19:27 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-19 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found