title: Setting the Response Header Using Express Node
body: <p>I am using the following code to set the response header: </p>
  
  <pre><code>var express = require("express");
  var app = express();
  
  app.get("/",function(req,res){
  
    res.header('Content-Type','application/json');
  
    var task = { title :"Do the grocery" }
    res.send(JSON.stringify(task));
  });
  </code></pre>
  
  <p>When I see in my response in Google Chrome I don't see the response header "Content-Type" being set. Am I doing something wrong? </p>