node-static
node-static copied to clipboard
rfc 2616 compliant HTTP static-file server module, with built-in caching.
want to change some of the file's mime type, is there any api? or just interpolate node response?
currently I don't think there's any way to set headers on a per request basis.. this patch allows headers to be set prior to calling `nodeStatic.serve`. In addition, currently `Content-Type`...
I am trying the following code snippet on Windows 7 using Node.js v6.2.0. The code works when using port 8080, but, when starting with port 22, it does not throw...
Gzip support
Seems given the current implementation there is no way to put in a simple handler for gzip compression. This would be quite useful for speeding up some files being served....
I would like to use this module with the Express 4 server framework. When I look at the usage examples, then it is often mentioned to attach to `req`'s "end"...
Add option to disable `indexFile` and show directory content, or alternatively be able to define a function that gets called to generate the content of the directory (I'm interested on...
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...
It would be helpful to have a command line option which do the same as `{ gzip: true }`
If I have a browser which supports gzip and I launch node-static with --gzip, and index.html.gz is available, it still won't work unless the regular index.html is available too. Is...
Reproduce by playing MP3 in Safari (just put URL into location bar). Works with Chrome. Unclear why this happens.