Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
Net::HTTPFound
Response class for Found responses (status code 302).
The Found response indicates that the client should look at (browse to) another URL.
This class also includes (indirectly) module Net::HTTPHeader, which gives access to its methods for getting headers.
References: