home tags events about login
one honk maybe more

benjojo posted 09 Jun 2025 18:04 +0000

Now this is a cool new trick that is definitely borderline on the halon razor (is it a fuck up? or is it someone doing something malicious?)

This LLM crawler is supplying two different user-agent headers presumably with the idea to confuse systems that restrict or log user-agent values

a screenshot of a http web requests log, showing inside of the headers two user agent values, one a mozilla firefox version 130, and the other Perplexity Bot 1.0

benjojo replied 09 Jun 2025 18:09 +0000
in reply to: https://hachyderm.io/users/roguelazer/statuses/114654734367486083

@roguelazer 🌈It depends🌈, What 2616 suggests and what often happens in reality are quite different. A lot of the HTTP libs treat HTTP headers very similar to SMTP headers (just multi line doesnt work*), so they just keep adding stuff on and on, Go's HTTP parser will supply headers to you as a map[string][]string to handle this edge case