mikeizbicki/rapache — pull request #22 by ManjunathChet (2014-12-23 16:53:38+00:00)
Title: Added filetype handling via mime type recognition

Fixed the bug where the browser interpretted all files as simple text. I used `file --mime-type` to retrieve the mime-type and adjust the HTTP header accordingly. I tested this on TXT, JPG, and PDF.