4xx 客户端错误响应
412Precondition Failed
前提条件失败
#何时发生?
当If-Match或If-None-Match等条件头中指定的条件不满足时返回。
#如何处理?
检查资源的当前状态并更新条件头的值(If-Match等)。
#示例
HTTP Response
HTTP/1.1 412 Precondition Failed
Content-Type: application/json
Date: Tue, 10 Feb 2026 07:16:21 GMT
{
"status": 412,
"message": "Precondition Failed"
}#相关状态码
이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.