If-Match Header Explained

What the HTTP If-Match header does and when it's used.

Published October 17, 2026

The If-Match header makes a request conditional on the resource's current ETag matching a given value.

Key points

  • Commonly used to prevent overwriting changes made by someone else since the client last read the resource
More HTTP articles