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

  1. Net::
  2. HTTPExpectationFailed

Response class for Expectation Failed responses (status code 417).

The server cannot meet the requirements of the Expect request-header field.

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

References: