Proposed minor spec changes, for comment.

jan6 at tilde.ninja jan6 at tilde.ninja
Mon May 18 23:00:56 BST 2020


May 19, 2020 12:51 AM, "Steve Ryan" <stryan at saintnet.tech> wrote:
> My only concern with this is the "server's job" part. I'd rather not
> have my server transform user-supplied content, even if it's something
> as minor as line breaks. Apache doesn't attempt to fix invalid HTML, why
> should SecretShop fix invalid text/gemini? Seems to me this should be
> handled by something like the gemini vim-syntax plugin.
> 
> It also makes writing servers a bit more complicated since text/gemini
> has to be treated differently from other files and actually parsed
> versus being directly served up. Not the biggest deal (and you've
> already admited it's tedious) but just something I noticed.

well, teeeechnically it'd have to do this for all text/* files, according to the rfc, including
plaintext and whatnot... although THAT's unlikely to happen...

I'd also be in favor of server handling it, although that is a kinda-valid point...
html doesn't count because the browsers will do their best to fix all kinds of TOTALLY BROKEN html,
you can have partial tags, no end tags for some, etc, and the browser will never tell the user your
site is a trashpile, it will just silently try its best to fix it up (even in inspect element,
you'd see the "repaired" version)...


More information about the Gemini mailing list