Search code examples
web-serviceshttpuser-agent

Best practices for custom http user-agent strings?


I'm developing an application that communicates with an internal web service using HTTP.

Are there any "best practices" for custom user-agent strings so that I can put a nice one in my app? It's a Python library and the lower transport is Python's own httplib. Should the user-agent string say that or something else?


Solution

  • For internal use you can use anything really.

    Of course, internal or external its always a good idea to include contact information, either web or email address, in case something breaks or application goes out of control.

    Check this big list of user agents for inspiration: https://user-agents.net/