ExpressJS
Last updated
Was this helpful?
Last updated
Was this helpful?
. After
writeHead
, the headers are baked in and you can only callres.write(data)
, and finallyres.end(data)
.https://stackoverflow.com/questions/7042340/error-cant-set-headers-after-they-are-sent-to-the-client