how to set http header in node js code example Example: node js response header response.setHeader("Content-Type", "text/html");