title: Reading incoming HTTP headers with node.js
body: <p>Now as example, I'm getting an response which has partially the key/values as an javascript object:</p>
  
  <pre><code>status: '200 OK',
  'content-encoding': 'gzip'
  </code></pre>
  
  <p>I can easily read out and log the status message by: headers.status but when I try to log the content-encoding (which I need in this particular situation) it errors on:</p>
  
  <pre><code>headers.'content-encoding' &lt;- obviously the quotes it doesn't like
  headers.content-encoding &lt;- obviously the '-' it doesn't like
  </code></pre>
  
  <p>How am I suppose to get/read/log it's content-encoding value?</p>
  
  <p>Greets,</p>
  
  <p>m0rph3v5</p>