Open In App

HTTP headers | Content-Language

HTTP headers are used to provide additional information in HTTP request and HTTP response. HTTP headers Content-Language is used to define, which language speaker document is intended to. It doesn’t define the language of the document. In case this header is not specified, it is assumed that the document is intended for all language speakers.

Syntax:



Directive:

Example:



To check the Content-language in action go to Inspect Element -> Network check the request header for content-language like below.

Supported Browsers: The browsers compatible with HTTP headers Content-language are listed below:

Article Tags :