class Net::HTTPUpgradeRequired
Response class for Upgrade Required responses (status code 426).
The client should switch to the protocol given in the Upgrade header field.
This class also includes (indirectly) module Net::HTTPHeader, which gives access to its methods for getting headers.
References:
-
[RFC 9110](www.rfc-editor.org/rfc/rfc9110.html#name-426-upgrade-require d).
Constants
- HAS_BODY