HTTP 412 status code


412 Precondition Failed

The server failed to satisfy one or more of the preconditions given in the header fields of the request while validating them. This status code allows the client to set preconditions in the request metainformation (request header field data) when retrieving the resource, thereby preventing the request method from being applied to the resource other than what it expects.