node js response header

JavaScript
response.setHeader("Content-Type", "text/html");
Source

Also in JavaScript: