codeguy/Slim — pull request #783 by mnlg (2014-03-07 19:09:27+00:00)
Title: Do not check content-type twice in sendFile() method

The $contentType variable was being checked twice. I also added a test to make sure the content type is sent as expected.