Fix content-type detection for small files
Previously a <512 byte file without an extension resulted in:
internal server error: runtime error: slice bounds out of range [:512] with capacity 8
authored by
whitequark.org
b5a1626a
b1b8ae26