node-ecstatic icon indicating copy to clipboard operation
node-ecstatic copied to clipboard

A static file server middleware that works with core http, express or on the CLI!

Results 37 node-ecstatic issues
Sort by recently updated
recently updated
newest added

Sometimes it is useful to serve static answers to POST requests. However ecstatic rejects all requests except GET or HEAD. This small patch fixes it.

In my current project I need to set `Access-Control-Expose-Headers: Content-Length` https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers @jfhbrook I'm currently swamped at work, so would like to postpone our *hackathon* to beginning of February. I plan...

I logged this on `http-server`, but I'm guessing the actual response generation is done in ecstatic so I'll cross post: https://github.com/indexzero/http-server/issues/213 --- # To reproduce ``` echo 'TestHello world' >...

I'd like to serve static files in two directories - one with my html, one with some compiled css that gets distributed with an npm package. I don't see a...

Hi, we (restify maintainers) are looking at deprecating the existing serve static plugin that ships with restify in favor of something that's being actively maintained. This is one of the...

If you accidentally have HTTP_PROXY-related env vars configured, this can severely confuse the tests. Probably the best approach is to document this edge case. If you run into this issue,...

Via @mk-pmb : > I think a good solution would be to refactor a lot of these patterns into a test helper module (maybe `setup-loopback-listen`): > - Find a random...

This is more of a question at this point, but why does ecstatic set the response code in some cases before it yields control to the next middleware in the...

I'd be really curious to see what that would even look like. I honestly don't know hapi's plugin API that well.