I see: logging, CORS, robots.txt, and then something about proxies? Is that accurate? Would love to see that documented.
Is this sufficient? https://github.com/indexzero/http-server#available-options
A majority of those are also ecstatic features, is what I'm saying. I'm
wondering which of those are actually provided by this library.
Han
On Thu, Dec 1, 2016 at 2:38 AM, Jannis Redmann notifications@github.com
wrote:
Is this sufficient? https://github.com/indexzero/
http-server#available-options—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/indexzero/http-server/issues/329#issuecomment-264138040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANyERUyP9YxGk5RWKyDs6FIjzvWRVPTks5rDqOUgaJpZM4LBEss
.
@laughinghan you're right that http-server is essentially a wrapper around ecstatic. Ecstatic, however, is designed to be middleware. You can use it in Express or with the internal http directly. http-server, on the other hand, is designed to be a server itself, running from CLI. It also adds some value:
robots.txt
Most helpful comment
@laughinghan you're right that
http-serveris essentially a wrapper aroundecstatic. Ecstatic, however, is designed to be middleware. You can use it in Express or with the internalhttpdirectly.http-server, on the other hand, is designed to be a server itself, running from CLI. It also adds some value:robots.txt