Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: LWP::UserAgent destroys $response->content >:{

by iguanodon (Curate)
on May 22, 2003 at 12:48 UTC ( #260044=note: print w/ replies, xml ) Need Help??


in reply to LWP::UserAgent destroys $response->content >:{

As benn says, show us the code. Until we see what you're trying we can only guess. So here's my guess: You're getting a 401 Unauthorized - are you sending credentials to authenticate?


Comment on Re: LWP::UserAgent destroys $response->content >:{
Re: Re: LWP::UserAgent destroys $response->content >:{
by SPotter (Initiate) on May 22, 2003 at 13:19 UTC
    It's because I needed to supply credentials that I resorted to using LWP ;)

    Yes, the credentials are fine. I know because I get the expected response in the rspfile when I use the filename method.
    Whether I use filename method or not I get the "500 Can't read entity body..." reported back and the $response->content does NOT contain the collected server response prior to the error.

    In filename method, though, the rspfile is fine and $response is not.

    Steve Potter http://www3.sympatico.ca/steven.potter/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://260044]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2014-07-28 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (185 votes), past polls