[ANN] twins, a Gemini server written in Go

khuxkm at tilde.team khuxkm at tilde.team
Sat Nov 7 05:45:41 GMT 2020


November 6, 2020 11:15 PM, colecmac at protonmail.com wrote:

> It looks like a nice server, but to be honest I would remove this.
> Serving non-standards is not what Gemini is about imo, and it's how
> the Web became what it is today. And clients in general should be
> strict and not accept things out-of-spec. For example Amfora won't
> allow non-standard status codes, even if the first digit matches a
> known code. It doesn't check for non-standard MIME params, but maybe
> it should?

I don't agree that clients should be strict, because that adds more trouble onto a client. Take 2 minutes and try to find how to parse MIME types and parameters in Python.

...

See how easy that was? Just use a method in the cgi module, or maybe even a third party lib. Now take 2 minutes and try to find a Python library that can tell when a non-standard mimetype parameter is used.

...

You probably couldn't find anything. I sure couldn't. This doesn't even take into account the lack of forward compatibility (what happens if a new mimetype gets defined with new parameters? now what, every client *must* update to handle it?)

Just my 2 cents,
Robert "khuxkm" Miles


More information about the Gemini mailing list