💾 Archived View for rawtext.club › ~sloum › geminilist › 002530.gmi captured on 2020-10-31 at 14:36:29. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

Lang parameters

Sean Conner sean at conman.org

Mon Aug 31 00:57:49 BST 2020

- - - - - - - - - - - - - - - - - - - 

It was thus said that the Great Sandra Snan once stated:

The protocol says that servers can emit lang paramenters but it's
difficult for the server to figure out the value of that parameter since
it's not in the gmi files. Have others figured out a best practice for
this?

With GLV-1.12556, you can specify the MIME type of a file via it'sextension. This will override the normal method of detecting the MIME typeby looking at the contents. As a side-effect, you can also specify thelanguage parameter.

GLV-1.12556 doesn't do this (yet) but another option is to have the serverlookg for a configuration option to always set the languate parameter to aknown value.

-spc