Re: PATCH: Using "plain" content for ->post method
Slaven Rezic <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2005-12-14 at 22:17, Gisle Aas wrote: > Slaven Rezic <[email protected]> writes: > > > The attached patch adds the feature to use plain content (that is, no > > param-value pairs) for POST requests. > > Since POST() already support plain content I instead applied the > following patch that tries to document this better and makes > $ua->post() not block this feature. Your test suite addition was > applied with a little tweak. Thanks! > > If you apply this patch to LWP::UserAgent you should be able to do > what you want with: > > my $res = $ua->post($soap_url, > Content_Type => "text/xml;charset=UTF-8", > SOAPAction => "Something", > Content => $soap_request_string, > ); > > Regards, > Gisle > [...] Thanks, works fine! Slaven -- Slaven Rezic . Development CELLULAR GmbH Schmiedehof 15 . 10965 Berlin . Germany Schulterblatt 58 . 20357 Hamburg . Germany Phone +49 30 789519-13 . Fax +49 30 890686-50 Email [email protected]