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 If-Match
, is missing.
When a precondition header is not matching the server side state, the response should be 412
Precondition Failed
.
428 Precondition Required
Specification | Title |
---|---|
RFC 6585, section 3: 428 Precondition Required | Additional HTTP Status Codes |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428