Spec-Zone.ru › HTTP

Status: 426

426 Upgrade Required

The HTTP 426 Upgrade Required client error response status code indicates that the server refused 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

>

Upgrade required from HTTP/1.1

Given a GET request to a system:

GET /resources HTTP/1.1
Host: example.com

The origin server expects that requests must be made in HTTP/3:

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.

Specifications

Specification
HTTP Semantics>
# status.426>

See also

  • HTTP response status codes
  • Upgrade
  • 101 Switching Protocols

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/426

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API