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:

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.