Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: LWP::UserAgent Client-Warning 500 against HTTP standards?

by choroba (Cardinal)
on Sep 30, 2022 at 08:01 UTC ( [id://11147170]=note: print w/replies, xml ) Need Help??


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

When we briefly discussed the possible alternatives, I asked "Would you like it to directly die instead?" I wasn't joking. You see the Mojo client does it, and in fact, curl does it too: if you don't display $? automatically in the prompt, check it after the call (curl is helpful enough to show us the exit status it's going to exit with, it's 6). Wrapping all calls to unstable interfaces into a try is a good habit.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-23 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found