6 ms·
You can serve text/gemini over HTTP, although it is rare (I have only seen it once). (I have a old version of Firefox that I was able to customize so that it ca
by zzo38computer 4y ago
You can serve text/gemini over HTTP, although it is rare (I have only seen it once). (I have a old version of Firefox that I was able to customize so that it can display text/gemini files, both remotely over HTTP(S), and local files (including inside of ZIP archives).
HTTP is messy, but does have some helpful features, such as the "Content-Length" response header (if it is known; it might not always be known but if it is then it would be helpful to include it), and range requests.
I also have idea how you could serve files in any format and be able to specify a response header to interpret it (and/or linking to alternative representations, perhaps using the existing "Link" header) if the client software does not already have that capability. (The end user should also be able to configure their own interpreters, which override those specified by the server, if any.) In this way, you can use Gemini files, as well as various picture formats, audio/video codecs, etc.