Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.03 KB

File metadata and controls

24 lines (19 loc) · 1.03 KB
set code title references
4
412
Precondition Failed
.NET HTTP Status Enum Rust HTTP Status Constant Rails HTTP Status Symbol Go HTTP Status Constant Symfony HTTP Status Constant Python2 HTTP Status Constant Python3+ HTTP Status Constant Python3.5+ HTTP Status Constant
HttpStatusCode.PreconditionFailed
http::StatusCode::PRECONDITION_FAILED
:precondition_failed
http.StatusPreconditionFailed
Response::HTTP_PRECONDITION_FAILED
httplib.PRECONDITION_FAILED
http.client.PRECONDITION_FAILED
http.HTTPStatus.PRECONDITION_FAILED

One or more conditions given in the request header fields evaluated to false when tested on the server.

This response code allows the client to place preconditions on the current resource state (its current representations and metadata) and, thus, prevent the request method from being applied if the target resource is in an unexpected state.