Overview

If you upgrade your request, it may work.

Takeaways

  1. 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.
  2. The server must send an Upgrade header field in a 426 response to indicate the required protocol(s).

Example

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.

Related

Further Reading

Specification

426 Upgrade Required | The HTTP Working Group

426 Upgrade Required

MDN web docs

Upgrade header field

MDN web docs