Thanks for the reply Shendal, but HTTP::Request::Common lacks some features that I need for this to work. Namely Authentication. It surprises me that HTTP::Request::Common would construct the headers in a diferent way than HTTP::Request.
in reply to Re: Separation boundary in multipart/form-data POSTs
in thread Separation boundary in multipart/form-data POSTs
I tried it with HTTP::Request::Common and got the following results:
Get Strong Together!!
my $ua = LWP::UserAgent->new;
my $res = $ua->request(POST 'http://myserver.com/LLS/GenPublishMessa
Content_Type => 'multipart/form-data',
[xmlmsg => $xmlmsg]);
HTTP/1.1 302 (Found) redirecting for authentication purposes
Date: Wed, 31 Jul 2002 21:23:53 GMT
Client-Date: Wed, 31 Jul 2002 21:23:53 GMT
P3P: CP="NON CURa ADMa DEVa TAIa IVAa OUR DELa SAMa LEG UNI PRE"