diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-04-18 06:29:34 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-04-18 06:29:34 +0000 |
commit | 65a1595be46303afae1053a8ea3e5ecbf9dfc8b1 (patch) | |
tree | 3c053156136c780a3518959e4259bd3e7890d2be /src/renderer.rs | |
parent | Add CHANGELOG entry for bumped deps (diff) | |
download | miniserve-65a1595be46303afae1053a8ea3e5ecbf9dfc8b1.tar.gz miniserve-65a1595be46303afae1053a8ea3e5ecbf9dfc8b1.zip |
Patch mime_guess to stop Firefox from becoming confused (fixes #160)
This was a pretty weird one. Turns out that if Firefox attempts to a open a .gz file directly but the MIME type is set as application/x-gzip
instead of the more correct application/gzip then the file will somehow corrupt. I suspect it's trying to double-decode the file.
Diffstat (limited to 'src/renderer.rs')
0 files changed, 0 insertions, 0 deletions