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

NameTypeDescription
weak_prefixW/Marks a weak validator; cannot establish byte-for-byte equivalence.
opaque_tagdouble-quoted entity tagOrigin-selected validator; treat contents as opaque, not a quoted-string escape language.

Working Example

Example Snippetnginx
ETag: "guide-v2"
Nginx Reference