zantoro has asked for the wisdom of the Perl Monks concerning the following question:
With this code I get a error HTTP 411 (length required). If I try adding a random length e.g.: 100000 I get: Error parsing XML - truncated response?$req = HTTP::Request->new(POST => $self->{'baseurl'}, $args); $req->authorization_basic('myemail@mydomain.com', $mypassword'); $res = $self->{'agent'}->request($req); last if $res->is_success();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP::USERAGENT - POST through basic authentication
by Khen1950fx (Canon) on Oct 10, 2011 at 16:55 UTC | |
by zantoro (Initiate) on Oct 11, 2011 at 13:51 UTC | |
by Khen1950fx (Canon) on Oct 12, 2011 at 14:54 UTC | |
|
Re: LWP::USERAGENT - POST through basic authentication
by Anonymous Monk on Oct 10, 2011 at 15:13 UTC |