Is there a way to get the UserAgent on the server side? I want to have some customized responses for Android/iOS vs Desktop, if not using a UserAgent, is there a different way to approach this?
s
Shawn
05/01/2024, 4:56 AM
I mean, it's a standard header, so you can get
User-Agent
wherever you have access to request headers
Shawn
05/01/2024, 4:56 AM
standard disclaimer that user agent sniffing is brittle, easily spoofed/overridden etc