Comment by FriedPickles
4 hours ago
Interesting theory. The Claude Code instance says it's using this user agent based on the guidelines in the EDGAR Fair Access Policy: https://www.sec.gov/search-filings/edgar-search-assistance/a...
...which indeed requests that bots supply `User-Agent: Sample Company Name AdminContact@<sample company domain>.com`.
So in this case, the site just asked nicely and Claude Code complied. Note that this wouldn't have worked for Claude Chat, which the author was testing, because the `web_fetch` tool cannot set the User-Agent or other headers.
No comments yet
Contribute on Hacker News ↗