craigspaeth/nap — pull request #26 by mekwall (2012-04-18 19:24:48+00:00)
Title: Make it work on windows

Made a couple of changes that made it work for me on both Windows and Linux.

I also replaced the if-elseif statements with a switch to check the extension in the middleware and removed the question-mark at the gzip error logger since that made it output at all times.