lookup> Accept-Language

Accept-Language

can be used by user agents to indicate the set of natural languages that are preferred in the response.

请求头RFC7231#5.3.5
NameAccept-Language
Type请求头
SpecificationRFC7231#5.3.5

can be used by user agents to indicate the set of natural languages that are preferred in the response.

Accept-Language: zh-CN,zh;q=0.9,en;q=0.8

RFC7231#5.3.5

What does the Accept-Language header do?

can be used by user agents to indicate the set of natural languages that are preferred in the response.

Is Accept-Language a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.

Related status codes

Related headers