[spec] Proposed changes

Solderpunk solderpunk at posteo.net
Sun Dec 27 17:06:42 GMT 2020


On Sun Dec 27, 2020 at 6:04 PM CET,  wrote:
> I don't see what's wrong with having an empty META, and I believe this
> is
> already in use. Why not just allow it and make the spec more clear so
> that
> client authors know they need to be able to handle it? I would keep the
> tab
> mandatory as well.

For previous discussion see
https://lists.orbitalfox.eu/archives/gemini/2020/003009.html.

The thinking is that there are circumstances where an empty META makes
no sense.  The clearest case is in redirects, where there *must* be a
new URL to request.  An empty META with a 1x status code *could* be
handled sensibly with a default prompt, but leads to a very poor user
experience (they have no idea what they're being asked to submit).

Response handling is simplest if META is either always optional or
always required (otherwise handling needs to be conditioned on the
status code), and since always optional is not sensible (due to the
above situations), always required is the simplest course of action.

Cheers,
Solderpunk


More information about the Gemini mailing list