Re: WWW::Mechanize problems

2005-12-14 Thread Peter Stevens
Hi Sebastian, It's sometimes hard to know exactly what a web page is reacting to when you post something to the page. Sometimes it's looking for the button, maybe it's looking for a hidden variable. (for more details, see I would suggest using Tamper Data ( http://tamperdata.mozdev.org/ ) to

Re: PATCH: Using "plain" content for ->post method

2005-12-14 Thread Gisle Aas
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 bl

PATCH: Using "plain" content for ->post method

2005-12-14 Thread Slaven Rezic
The attached patch adds the feature to use plain content (that is, no param-value pairs) for POST requests. E.g. my $ua = LWP::UserAgent->new; my $soap_request_string = "post($soap_url, \$soap_request_string, "Content-Type" => "text/xml;charset=UT