lookup> Vary

Vary

describes what parts of a request message, aside from the method and request target, might influence the origin server's process for selecting and representing the response.

响应头RFC7231#7.1.4
NameVary
Type响应头
SpecificationRFC7231#7.1.4

describes what parts of a request message, aside from the method and request target, might influence the origin server's process for selecting and representing the response.

Vary: Accept-Encoding

RFC7231#7.1.4

What does the Vary header do?

describes what parts of a request message, aside from the method and request target, might influence the origin server's process for selecting and representing the response.

Is Vary a request or response header?

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

Related status codes

Related headers

About This Tool

This page provides original, human-reviewed information about HTTP headers such as Vary, the HTTP Header Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.