?
This document uses PHP Chinese website manual Release
HTTP 426 Upgrade Required
客戶端錯誤響應代碼指示服務器拒絕使用當前協(xié)議執(zhí)行請求,但可能在客戶端升級到其他協(xié)議后愿意這樣做。
服務器發(fā)送一個Upgrade
包含此響應的頭部以指示所需的協(xié)議。
426 Upgrade Required
HTTP/1.1 426 Upgrade Required Upgrade: HTTP/3.0 Connection: Upgrade Content-Length: 53 Content-Type: text/plain This service requires use of the HTTP/3.0 protocol
規(guī)范 | 標題 |
---|---|
RFC 7231,第6.5.15節(jié):426需要升級 | 超文本傳輸協(xié)議(HTTP / 1.1):語義和內容 |
Upgrade
101
Switching Protocol