http-server
http-server copied to clipboard
a simple zero-configuration command-line http server
This library prints ip addresses to stdout if they are ipv4 after listening. it does this by calling [`os.networkInterfaces()`](https://nodejs.org/api/os.html#osnetworkinterfaces), which now returns `4` or `6` (unlike [before in v17](https://nodejs.org/docs/latest-v17.x/api/os.html#osnetworkinterfaces) -...
[DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated #### Environment Versions 1. OS Type: macOS 12.2.1 1. Node version: `$ node --version`. : v17.6.0 1. http-server version: `$ http-server --version`: v14.1.0 #### Steps...
**Please ensure that your pull request fulfills these requirements:** - [x] The pull request is being made against the `master` branch - [ ] Tests for the changes have been...
**Steps to reproduce the issue, if applicable. Include the actual command and output and/or stack trace.** Not sure sorry as there is a lot of traffic on the server, just...
http-server makes usage of [http-proxy](https://github.com/nodejitsu/node-http-proxy) that supports web sockets, but web socket requests are not proxied.
I generated an SSL certificate using OpenSSL, added to my operating systems root certificate store, and started the web server, upon trying to connect to the web server I got...
#### What's the problem this feature will solve? Defend against DNS rebinding attacks (https://en.wikipedia.org/wiki/DNS_rebinding). #### Describe the solution you'd like Add a new option for specifying the permitted value of...
### What's the problem this feature will solve? Currently, with --cors enabled `access-control-allow-origin` hard coded to `*`. If http-server is behind features that require authentication (client SSL certs in my...
Browsers sometimes reject wildcard origins (`*`) in Access-Control-Allow-Origin headers, so a common practice is for the server to simply mirror the domain back, instead of sending `*`. Can http-server support...
Allows serving of SPAs * with correct status code 200 * without using the defekt `Catch-all redirect` ##### Relevant issues fixes issue #757 ##### Contributor checklist - [ ] Provide...