Description
I install the package and write a simple html page to try it.
Then I typed "http-server", the server was on.
But when I tried to visit the url, I got this error:
[Thu, 11 Feb 2016 06:18:12 GMT] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36" _http_outgoing.js:348 throw new TypeError('The header content contains invalid characters'); ^TypeError: The header content contains invalid characters
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:348:11)
at ResponseStream.(anonymous function) [as setHeader] (D:\Programme\nodejs\node_global\node_modules\http-server\node_modules\union\lib\response-stream.js:88:34)
at serve (D:\Programme\nodejs\node_global\node_modules\http-server\node_modules\ecstatic\lib\ecstatic.js:204:11)
at D:\Programme\nodejs\node_global\node_modules\http-server\node_modules\ecstatic\lib\ecstatic.js:134:11
at FSReqWrap.oncomplete (fs.js:82:15)
I don't know why?
Metadata
Metadata
Assignees
Labels
No labels