Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: HTTP::Request

by ikegami (Patriarch)
on May 14, 2005 at 22:28 UTC ( [id://457127]=note: print w/replies, xml ) Need Help??


in reply to HTTP::Request

The header argument is only optional when the content is omitted. Fortunately, you can use undef for the header argument:

my $request = HTTP::Request->new(POST => 'http://...', undef, [ ... ])

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-03-29 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found