Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by iguanodon (Priest)
on May 22, 2003 at 12:48 UTC ( [id://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 >:{

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://260044]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-04-19 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found