Re: [SPEC] Encouraging HTTP Proxies to support Gemini hosts self-blacklisting
dch at skunkwerks.at
Mon Feb 22 17:22:25 GMT 2021
On Mon, 22 Feb 2021, at 17:46, Petite Abeille wrote:
> > On Feb 21, 2021, at 21:26, Sean Conner <sean at conman.org> wrote:
> > After reading up on HTTP response codes, I think the most appropriate one
> > is 409 Conflict.
> 451 Unavailable For Legal Reasons surely.
403 Forbidden is ideal for this, or one of the 50x error codes. In practice most systems will retry a 50x request but not a 403.
409 conflict implies you are updating some resource a d this is rejected because of a conflicting request already being handled by the server. Not appropriate to this case as we are not updating.
451 is explicitly for legal reasons. Not semantic nor preference but book burning lawyer talk. Also not appropriate.
Using uncommon http codes makes things more confusing than necessary.
More information about the Gemini