Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
Net::HTTPUseProxy
Response class for Use Proxy responses (status code 305).
The requested resource is available only through a proxy, whose address is provided in the response.
This class also includes (indirectly) module Net::HTTPHeader, which gives access to its methods for getting headers.
References: