http-server icon indicating copy to clipboard operation
http-server copied to clipboard

a simple zero-configuration command-line http server

Results 164 http-server issues
Sort by recently updated
recently updated
newest added

Update tap and fix deprecated test methods **What changes did you make?** Upgraded to latest tap and replaced deprecated test methods in the unit tests. **Provide some example code that...

patch version
dependencies

I'm trying to serve large files(1 GiB) using http-server, the memory usage is abnormally high, so I got the heap profile and saw lots of 65535 KiB Buffer without being...

needs-investigation
stale

For example, the ones here: https://www.npmjs.com/package/morgan#predefined-formats Features to include: - option to only log errors like 404 - extremely verbose option to log the headers of each request

fixes #296, fixes #276

minor version
feature

hi, I find the file http-server serve is returned with content-type 'charset=utf-8', can I config to return with other charset i.e 'charset=gbk' ?

When requesting an URL with ISO-8859-1 enconding the server fails with HTTP 400 (bad request) and the following body: `URIError: URI malformed` URL : `/index.html?param=%DANICO` `%DANICO` is `ÚNICO` URL enconded...

To serve files with credentials support cross domains we ned to not just add some headers in request, we should also change Access-Control-Allow-Origin header to Origin value from request. I...

minor version
feature

**Please ensure that your pull request fulfills these requirements:** - [x] The pull request is being made against the `master` branch - [x] Tests for the changes have been added...

minor version
feature

This defers more to the corser middleware that's already in use to reduce code and chances for error in the re-implementation. This also fixes an issue where disallowed headers would...

patch version
fix

Fix #545. Supply 'corser' with a similar set of responseHeaders from the 'cors' options.

patch version
enhancement