?
This document uses PHP Chinese website manual Release
HTTP 412 Precondition Failed
客戶端錯誤響應(yīng)代碼指示對目標(biāo)資源的訪問已被拒絕。這種情況與上比其他方法條件請求GET
或者HEAD
當(dāng)被定義的條件If-Unmodified-Since
或If-None-Match
頭部不被滿足。在這種情況下,無法進(jìn)行請求(通常是上載或修改資源),并且發(fā)送此錯誤響應(yīng)。
412 Precondition Failed
規(guī)范 | 標(biāo)題 |
---|---|
RFC 7232,第4.2節(jié):412先決條件失敗 | 超文本傳輸協(xié)議(HTTP / 1.1):條件請求 |
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
304
If-Unmodified-Since
If-None-Match
428