What do you mean by "support"?

If you have an application you can already send that header and an error
message explaining it.  The RFC says:

> Responses using this status code SHOULD include an explanation, in the
> response body, of the details of the legal demand: the party making it, the
> applicable legislation or regulation, and what classes of person and
> resource it applies to.

which is likely handled in application code too if you are generating the
header there.

I submitted a patch for support for mod_rewrite and other internals to use
that error.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58985
That would let you set the error with something like mod_rewrite
(RewriteRule .* - [R=451]), but you wouldn't get a custom error message
like the RFC suggests.

- Y

On Tue, Feb 9, 2016 at 7:29 AM, Michael Renner <michael.ren...@gmx.de>
wrote:

> Moin,
>
> are there plans to support the new return code 451 (Unavailable For Legal
> Reasons)?
>
> Thanks
> --
> |Michael Renner      E-mail: michael.ren...@gmx.de  |
> |81541 Munich        Twitter: @dd0ul                |
> |Germany             Don't drink as root!      ESC:wq
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to