Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.4

Net::HTTPUnavailableForLegalReasons

Response class for Unavailable For Legal Reasons responses (status code 451).

A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource.

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

References:

Constants
No documentation available