426 Upgrade Required

Explanation:

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.

Usage:

This status code should be used when 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.

Attentions:

  • The server should include information about the required protocol upgrade in the response message if possible.
  • The response should include a message body with information about the required protocol upgrade.

Sample:

undefined