Cloudflare worker can't get user agent of client request

I want to do some traffic shaping based on user agent, but it doesnt show up in the request headers

The request.headers will contain all request headers - here’s an example:

https://cloudflareworkers.com/#0a3c1b45ece2001e4a48593d3e007dde:https://tutorial.cloudflareworkers.com

1 Like

ok, it works, but only on the actual domain, not in testing mode.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.