Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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

by Your Mother (Archbishop)
on Aug 18, 2020 at 23:57 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2022-09-25 23:16 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (116 votes). Check out past polls.