Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/http/status/428/index.md
6567 views
---
title: 428 Precondition Required slug: Web/HTTP/Status/428 spec-urls: https://www.rfc-editor.org/rfc/rfc6585#section-3
---

{{HTTPSidebar}}

The HTTP 428 Precondition Required response status code indicates that the server requires the request to be conditional.

Typically, this means that a required precondition header, such as {{HTTPHeader("If-Match")}}, is missing.

When a precondition header is not matching the server side state, the response should be {{HTTPStatus(412)}} Precondition Failed.

Status

428 Precondition Required

Specifications

{{Specifications}}

See also