Closed Ogeon closed 9 years ago
I'm thinking about making the mime catalogue optional using a Cargo feature. It's relatively large and may be perceived as bloat if not used. I may also wait for it to be requested, since every new feature makes it harder to test.
I will not put it behind a feature right away. Anyone who would like to be able to turn it off can submit a pull request or an issue :)
@homu r+
:pushpin: Commit d54e246 has been approved by Ogeon
:hourglass: Testing commit d54e246 with merge 4a3139b...
Adds a helper structure for loading and sending raw files to the client. It's accompanied by a catalogue of MIME types and a function for converting a file extension to a
Mime
.Closes #26