class Net::HTTPBadGateway - Documentation for Ruby 4.0 (original) (raw)

  1. Net::
  2. HTTPBadGateway

Response class for Bad Gateway responses (status code 502).

The server was acting as a gateway or proxy and received an invalid response from the upstream server.

This class also includes (indirectly) module Net::HTTPHeader, which gives access to its methods for getting headers.

References: