cloudhead / node-static

rfc 2616 compliant HTTP static-file server module, with built-in caching.
MIT License
2.17k stars 245 forks source link

Only serve .gz if no uncompressed version present #159

Open wmertens opened 9 years ago

wmertens commented 9 years ago

When scanning for vulnerabilities, Qualys complains that the fact that foo.gz is there when foo is there, is an information leak. It would be great if it the gz file is only served on purpose, i.e. when there is no uncompressed version.