So there really is no way to make Node.js add and send HTTP header names in their mixed case form, as God intended them to be sent?
4
1
@stilkov Just checked, both
res.setHeader("cOnteNt-tYpe",...)
&
res.writeHead(200, {"cOnteNt-tYpe": ...})
work for me (plain vanilla node)
1
@bastiankrol Custom headers I set work fine, ‘Content-type’ doesn’t work for me. It’s probably somewhere inside Express.
Apr 20, 2014 · 6:48 AM UTC

