我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

The HTTP 426 Upgrade Required client error response code indicates that the server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.

The server sends an Upgrade header with this response to indicate the required protocol(s).

Status

426 Upgrade Required

Examples

HTTP/1.1 426 Upgrade Required 
Upgrade: HTTP/2.0 
Connection: Upgrade 
Content-Length: 53 
Content-Type: text/plain 

This service requires use of the HTTP/2.0 protocol

Specifications

Specification Title
RFC 7231, section 6.5.15: 426 Upgrade Required Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

See also

文件標籤與貢獻者

此頁面的貢獻者: mdnwebdocs-bot, mfuji09, haizaar, teoli, fscholz
最近更新: mdnwebdocs-bot,