Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
Net::HTTPVariantAlsoNegotiates
Response class for Variant Also Negotiates responses (status code 506).
Transparent content negotiation for the request results in a circular reference.
This class also includes (indirectly) module Net::HTTPHeader, which gives access to its methods for getting headers.
References: