Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
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: