Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Bad hostname

by alvise (Acolyte)
on Sep 15, 2009 at 07:47 UTC ( [id://795313]=note: print w/replies, xml ) Need Help??


in reply to Re: Bad hostname
in thread Bad hostname

I agree with you that the format of the typical LWP response is something like you have just stated. But the error message that I am forwarding in my posts is the status_line of the response object, not that of the user agent object.

Far from me the idea of wasting your time (and mine) by faking the messages... I just copied and pasted them.

Anycase I've disabled SELinux and the problem has been solved. But now another problem arises: should I leave SELinux disabled ???

Thanks for taking the time to respond to me. A.

Replies are listed 'Best First'.
Re^3: Bad hostname
by ikegami (Patriarch) on Sep 15, 2009 at 14:30 UTC

    the error message that I am forwarding in my posts is the status_line of the response object, not that of the user agent object.

    You are mistaken. It's LWP::UserAgent that places the error in the status line (after being generated by LWP::Protocol::http). That is how LWP reports errors.

    So yes, we were on the same page. Maybe older versions of LWP had different messages, sorry.

    Update: It would have to be a very old version. Older than libwww-perl-5.800, released on June 15th, 2004. That's the earliest version currently on CPAN.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-29 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found