HTTP headers
ETag header
Identifies a representation for conditional requests; opaque to clients. A weak validator is not byte identity.
Formal Syntax & Structure
nginx syntaxnginx
ETag: [W/]"opaque-tag"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| weak_prefix | W/ | Marks a weak validator; cannot establish byte-for-byte equivalence. |
| opaque_tag | double-quoted entity tag | Origin-selected validator; treat contents as opaque, not a quoted-string escape language. |
Working Example
Example Snippetnginx
ETag: "guide-v2"