code42day/connect-gzip-static — pull request #2 by Todd-Werelius (2014-03-04 21:10:49+00:00)
Title: fixed incorrect mime type lookup if trailing slash converted to index.ht...

I basically tested this with

www.mysite.com
www.mysite.com/
www.mysite.com/index.html

If the file is gzip'd it now sets mime type correctly and returns the document vs. downloading it with the above scenario's, it also falls through properly to connect's static handler if it can't be found as before

Seems to take care of the issues, and browser side 304's also seem to be returned properly etc. but note that I didn't test the trailing / scenario outside of above root scenarios