Apache2-API
view release on metacpan or search on metacpan
lib/Apache2/API/Status.pm view on Meta::CPAN
{
"type" : "https://example.org/errors/missing-property",
"status": 422,
"title": "Missing property: body"
}
=head2 HTTP_LOCKED (423)
See L<rfc 4918 on WebDAV|https://tools.ietf.org/html/rfc4918>
This is returned under the WebDav protocol when one tries to make change to a locked resource.
=head2 HTTP_FAILED_DEPENDENCY (424)
See L<rfc 4918 on WebDAV|https://tools.ietf.org/html/rfc4918>
This is returned under the WebDav protocol when the processing of one of the resources failed.
=head2 HTTP_TOO_EARLY (425)
See L<rfc 8470, section 5.2 on Using Early Data in HTTP|https://tools.ietf.org/html/rfc8470#section-5.2>
lib/Apache2/API/Status.pm view on Meta::CPAN
See L<rfc 7725 on Legal Obstacles|https://tools.ietf.org/html/rfc7725>
This is returned when, for some legal reasons, the resource could not be served.
This status code has been chosen on purpose, for its relation with the book L<Fahrenheit 451|https://en.wikipedia.org/wiki/Fahrenheit_451> from Ray Bradbury. In his book, the central theme is the censorship of literature. The book title itself "Fahre...
For example:
HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://example.org/legal>; rel="blocked-by"
Content-Type text/plain
Content-Length: 48
You are prohibited from accessing this resource.
=head2 HTTP_CLIENT_CLOSED_REQUEST (499)
This is a non-standard status code used by some web servers, such as nginx, when the client has closed the connection while the web server was still processing the request.
This status code is actually not seen by the client, but only appears in nginx log files.
( run in 0.570 second using v1.01-cache-2.11-cpan-49f99fa48dc )