HTTP Headers
Both browsers send the identity's headers; only Camoufox lets you override them one by one.
Properties
| Property | Type | Browsers | Description |
|---|---|---|---|
headers.User-Agent |
str | Camoufox | Browser and system information |
headers.Accept-Language |
str | Camoufox | Acceptable languages for the response |
headers.Accept-Encoding |
str | Camoufox | Acceptable encodings for the response |
Notes
- By default, in both browsers,
User-Agentmatchesnavigator.userAgent, andAccept-Languagematches the language list the page reads.
- If
headers.User-Agentis not set, it will fall back tonavigator.userAgent. - The launcher drops a generated
headers.Accept-Encodingunless you set it. A value you force is also sent over plain http, where stock Firefox sends onlygzip, deflate.
There are no headers.* keys. User-Agent and the Sec-CH-UA-* headers come from the identity (see Client Hints), and Accept-Language from the same language list as navigator.languages. The other headers are Chrome's own.