426

HTTP 426 Upgrade Required

4xx Client Error

  1. Home
  2. > HTTP Status Codes >
  3. > 4xx >
  4. 426
4xx Client Error RFC 7231, Section 6.5.15

What is HTTP 426 Upgrade Required?

The 426 (Upgrade Required) status 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 response must include an Upgrade header indicating the required protocol.

Common Use Cases

  • Requiring TLS/HTTPS upgrade
  • Requiring HTTP/2 upgrade
  • Deprecating old protocol versions
Help2Code Logo
Menu