You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I just let it return application/json?
I'm using latest http-server version, but I checked the source code, looks like this issue has been there from the very beginning.
Expected result
application/json
Actual result
application/json; charset=UTF-8
Thanks.
The text was updated successfully, but these errors were encountered:
Environment Versions
$ node --version
v12.22.12$ http-server --version
v14.1.1Steps to reproduce
I have a json text file and start http-server
What I got is:
application/json; charset=UTF-8
How can I just let it return
application/json
?I'm using latest http-server version, but I checked the source code, looks like this issue has been there from the very beginning.
Expected result
application/json
Actual result
application/json; charset=UTF-8
Thanks.
The text was updated successfully, but these errors were encountered: