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's
extension. This will override the normal method of detecting the MIME type
by looking at the contents. As a side-effect, you can also specify the
language parameter.
GLV-1.12556 doesn't do this (yet) but another option is to have the server
lookg for a configuration option to always set the languate parameter to a
known value.
-spc
More information about the Gemini
mailing list