Header is not reliable?

Hello, I am making a website and it relies on User-Agent & custom headers. The custom header doesn’t seem to work (My website can’t detect that) and sometimes the User-Agent doesn’t work. (I am sure because I have already done some tests before)

I have read the Cloudflare Docs and they told me that they pass all HTTP Headers but I can’t seem to detect it here

  • The User-Agent and custom header check works fine in the test environment (without Cloudflare)

Any ideas?

Define doesn’t work. Are they not present or different than you expect? Is this happening on your requests or requests by others?

Every request, It seems like Cloudflare didn’t forward the HTTP Headers.

Like if I add a custom header
testheader: "data"
the origin server cannot detect that using getallheaders()

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