title: Force webserver to return uncompressed data (No gzip)
body: <p>I am using <strong><a href="http://nodejs.org/docs/v0.4.11/api/http.html#http.request" rel="noreferrer">http node.js</a></strong>  <strong>module to make http requests</strong>. I want to force the webserver to return uncompressed data. <strong>[No gzip, No deflate]</strong>.</p>
  
  <p>Request headers</p>
  
  <pre><code>headers: {
    'Accept-Encoding': 'gzip,deflate,sdch',
    'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/31.0.1650.57 Chrome/31.0.1650.57 Safari/537.36',
  }
  </code></pre>
  
  <p>I tried using this <code>'Accept-Encoding': '*;q=1,gzip=0'</code> but no luck.</p>
  
  <p>I see two approaches:</p>
  
  <ol>
  <li>Force the webserver to return uncompressed data.</li>
  <li>Unzip the compressed data using some nodeJs module</li>
  </ol>
  
  <p>I want to go for #1.</p>