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

Re^4: "406 not acceptable" errors with LWP::UserAgent::get

by Your Mother (Archbishop)
on Aug 18, 2020 at 23:57 UTC ( [id://11120889]=note: print w/replies, xml ) Need Help??


in reply to Re^3: "406 not acceptable" errors with LWP::UserAgent::get
in thread "406 not acceptable" errors with LWP::UserAgent::get

You can of course do whatever you want but I encourage you to use a unique agent name and version for your script; maybe even a less whimsical one than my original suggestion. :P I meant to expand on this and forgot. It’s more transparent—I’d argue more honest—better metrics for the host, and being a good netizen, from an API standpoint, is better for everyone and, I believe, reflects well on Perl compared to some other more, uh, mercenary communities. Update: response codes are at the discretion of the host code and webserver. They are frequently not particularly sensible.

  • Comment on Re^4: "406 not acceptable" errors with LWP::UserAgent::get

Log In?
Username:
Password:

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

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

    No recent polls found