I logged this on http-server, but I'm guessing the actual response generation is done in ecstatic so I'll cross post:
http-party/http-server#213
To reproduce
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
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
Content-Type: application/octet-stream; charset=utf-8
I logged this on
http-server, but I'm guessing the actual response generation is done in ecstatic so I'll cross post:http-party/http-server#213
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