Accept-Charset
Warning: Do not use this header. Browsers omit this header and servers should ignore it.
The header was deprecated by RFC 9110 section 12.5.2 Accept-Charset (June 2022).
The HTTP Accept-Charset
request header was a header that advertised a client's supported character encodings. It is no longer widely used.
UTF-8 is well-supported and the overwhelmingly preferred choice for character encoding. To guarantee better privacy through less configuration-based entropy, all browsers omit the Accept-Charset
header.
Today, Accept-Charset
is most notable for being one of several forbidden header names.
Header type | Request header |
---|---|
Forbidden header name | Yes |
See also
- HTTP content negotiation
- Accept-Charset is no more
- Header with the result of the content negotiation:
Content-Type
- Other similar headers:
TE
,Accept-Encoding
,Accept-Language
,Accept