title: How to get raw HTTP header string in Node.js with express.js
body: <p>I currently work with Node.js and express.js. For my current project I need to access the raw strings of the HTTP headers (charset and accepted).</p>
  <p>There is a function in express.js which returns those charsets and accepted headers, however, these are sorted by quality and therefore not useable for me in this special case I need.</p>
  <pre><code>req.accepted // Returns sorted array of accepted header
  
  req.acceptedCharsets // Returns sorted array of accepted lang header
  </code></pre>
  <p>However, I need the raw strings (<code>iso-8859-5;q=.2, unicode-1-1;q=0.8, text/*;q=.5, application/json</code>).</p>
  <p>Now is there a way how I can access those raw strings in my express app?</p>