class Net::HTTPPreconditionFailed

Response class for Precondition Failed responses (status code 412).

The server does not meet one of the preconditions specified in the request headers.

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

References: