Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: LWP::UserAgent Client-Warning 500 against HTTP standards? (Predates current standards)

by Anonymous Monk
on Sep 30, 2022 at 09:46 UTC ( [id://11147175]=note: print w/replies, xml ) Need Help??


in reply to LWP::UserAgent Client-Warning 500 against HTTP standards?

WWW::Mechanize uses autocheck ;) its a nice default with a browser like that

https://github.com/libwww-perl/libwww-perl/issues/258 Pseudo-500 Errors Make Debugging Harder Than It Should Be #258

the rfc does not specify how libraries/apis ought to be implemented. Issue 258 argues the code should be 4xx but those are all server responses too

20+ years ago i learned LWP and about internal error on the first day

500 is the most famous error

  • Comment on Re: LWP::UserAgent Client-Warning 500 against HTTP standards? (Predates current standards)

Replies are listed 'Best First'.
Re^2: LWP::UserAgent Client-Warning 500 against HTTP standards? (Predates current standards)
by Your Mother (Archbishop) on Sep 30, 2022 at 11:15 UTC

    autocheck being on by default was a heinous and breaking change to WWW::Mechanize. It is the equivalent of a browser crashing every time there is a response that doesn’t match ->is_success.

      Seatbelts save lives

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-19 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found