We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
echo '<!doctype html><html><head><meta charset="utf-8"><title>Test</title></head><body>Hello world</body></html>' > test.html ln -s test.html test http-server
Then go to http://localhost:8080/test
Server resolves target (realpath?) then prepares HTTP response based on target file
Content-Type: text/html
Server does not resolve target, causing incorrect HTTP response
Content-Type: application/octet-stream; charset=utf-8
The text was updated successfully, but these errors were encountered:
This is an issue in node-ecstatic, not http-server, see discussion in jfhbrook/node-ecstatic#168
node-ecstatic
http-server
Sorry, something went wrong.
No branches or pull requests
To reproduce
Then go to http://localhost:8080/test
Expected behaviour
Server resolves target (realpath?) then prepares HTTP response based on target file
Observed behaviour
Server does not resolve target, causing incorrect HTTP response
The text was updated successfully, but these errors were encountered: