github/linguist — pull request #320 by brianmario (2012-12-20 00:00:54+00:00)
Title: Make sure we set content-type for non-binary types as well

Currently `BlobHelper#content_type` only returns a detected mime-type if the contents were determined to be binary while returning `text/plain` for everything else. I think this was so that we could serve raw blobs in the browser without it trying to download it?

What do you think?