Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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

by iguanodon (Priest)
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 >:{

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://260044]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2017-12-13 03:50 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (345 votes). Check out past polls.