mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-11-02 00:32:36 +01:00
18 lines
609 B
Markdown
18 lines
609 B
Markdown
---
|
|
set: 4
|
|
code: 412
|
|
title: Precondition Failed
|
|
references:
|
|
"Rails HTTP Status Symbol": ":precondition_failed"
|
|
---
|
|
|
|
The 412 (Precondition Failed) status code indicates that 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.
|
|
|
|
Source: [RFC7232 Section 4.2][1]
|
|
|
|
[1]: <http://tools.ietf.org/html/rfc7232#section-4.2> |