1

I'm sure there's no official standard, but are there some guidelines for identifying and classifying browsers based on the User-Agent string they send?

1 Answer 1

1

According to the RFC 2616, here is the convention used by client to send their User-Agent.

User-Agent = "User-Agent" ":" 1*( product | comment )

Example:

User-Agent: CERN-LineMode/2.15 libwww/2.17b3

The header should contains a product token, and additional informations about version, used library by the client, etc.

But as you may know, User-Agent can totally be faked, so you can't really rely on it.

user-agents.org is a searchable database of user-agents

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.