What is the correct user agent to use on the server?

For Filepicker.io we built a "URL capture", but some sites are not happy that they don’t miss the User-Agent header. I could just use a web browser user agent, as suggested in some other answers , but as a good web citizen, I wanted to know if there is a more suitable user agent to install for a server requesting data from another server?

+5
source share
1 answer

Depending on the language you wrote your server in. For example, Python urllib sets the default value User-agent: Python-urllib/2.1, but you can just as easily set it somehow User-agent: filepicker.io/<your-version-here>or something more specific to the language if you like.

+1
source

All Articles