Server-side reduced user-agent

⬆ All examples
The User-Agent header received server-side:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Did the code detect a Chrome user-agent and reduce it?
No
The reduced value of User-Agent for server-side use:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Code

Edit in Glitch