Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
Net::HTTPGatewayTimeout
Response class for Gateway Timeout responses (status code 504).
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
This class also includes (indirectly) module Net::HTTPHeader, which gives access to its methods for getting headers.
References: