diff options
author | Omar Polo <op@omarpolo.com> | 2020-10-07 14:38:27 +0200 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2020-10-07 14:41:32 +0200 |
commit | cc68fe70fcb31b9acebab97ecad2c84c4c80fc02 (patch) | |
tree | 388c1299b55599df87e700270049037611fbdbfc /README.md | |
parent | 592fd6245350595319e338ef49984a443b818f16 (diff) |
added support for mime types (by looking at file extension)1.0
At the moment there is an hardcoded table that maps mime types to
extensions. For the time being this can be OK, as I don’t even
currently serve all those types of file, but in the future I’d like to
let user pass a file with the mapping, like /usr/share/misc/mime.types
on OpenBSD, to map. However, even in this case, we should hardcode
text/gemini IMHO, since most mime.types listing doesn’t have it yet.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions