class Net::HTTPLengthRequired

Response class for Length Required responses (status code 411).

The request did not specify the length of its content, which is required by the requested resource.

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

References: