HTTP headers
Vary header
Indicates request fields affecting representation selection; not a security boundary.
Formal Syntax & Structure
nginx syntaxnginx
Vary: field-name[, field-name...] | *Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| selection | * | comma-separated request field names | Describe fields used in representation selection. A wildcard prevents normal matching of a stored response for subsequent requests. Not an authorization boundary. |
Working Example
Example Snippetnginx
Vary: Accept-Language