title: Express/node.js 204 HTTP code response issue
body: <p>Here is my code:</p>
  
  <pre><code>.put(function(req, res) {
    User.findById(req.params.user_id, function(err, user) {
      if(err) return res.send(err);
  
      user.dateEdited = new Date();
      user.save(function(err) {
        if(err) return res.send(err);
  
        return res.status(204).json(customHTTPcodeReponses.updated(user))
      });
    });
  });      
  </code></pre>
  
  <p>Part of my middleware called customHTTPcodeReponses</p>
  
  <pre><code>updated: function(data) {
    return {
      code: 204,
      status: 'Success',
      message: 'Resource updated (or soft deleted)',
      data: data
    };
  }
  </code></pre>
  
  <p>I as figured out, 204 is not supposed to return any data, so I am not getting any back. 
  But I would like to have this data to see what was really changed. How could I hande response code then?</p>
  
  <p>Have in mind that if I use </p>
  
  <pre><code>res.status(200).json(customHTTPcodeReponses.updated(user))
  </code></pre>
  
  <p>data is shown.</p>
  
  <p>If you need some extra explanation, please ask.</p>