Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class · Ruby 4.1

Net::HTTPMisdirectedRequest

Response class for Misdirected Request responses (status code 421).

The request was directed at a server that is not able to produce a response.

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

References: