properly set mimetype on export
closes #262 (closed) (or so I think)
I used this opportunity to use specialized flask functions for sending files.
closes #262 (closed) (or so I think)
I used this opportunity to use specialized flask functions for sending files.