I guess what you are asking for is a method to turn a raw request into an HTTP::Request object. I don't think LWP makes such a method available. You could roll your own. As FamousLongAgo mentioned, you would need to construct your own HTTP::Headers object. Also, an HTTP::Request is a subclass of HTTP::Message and you'll have to look in the latter for the content() method which you will need to set the content of the POST request.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Creating A Request
by sauoq
in thread Creating A Request
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |