Content-Language

The Content-Language header indicates the language used in the content section of the HTTP message. As with the Accept-Language request header, the general format is a primary language tag followed by an optional subtag. Examples are en and en-US, respectively. The acceptable language tags are maintained by the IANA.

Note

Related material can be found in the description of the Accept-Language request header in Chapter 5.

Get HTTP Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.