title: How can content-encoding be ignored
body: <p>I have a device I need to download a file from.  In certain cases, the file may have an incorrect <code>content-encoding</code>.  Particularly, it may have a content-encoding of "gzip", when it is not gzipped, or compressed in any way.</p>
  
  <p>So, when the file is gzipped, it's simple to get the content using a basic ajax GET:</p>
  
  <pre><code>$.ajax({
      url: 'http://' + IP + '/test.txt',
      type: 'GET'
  })
  .done(function(data) {
      alert(data);
  });
  </code></pre>
  
  <p>But this fails, as you might expect, when the content-encoding is wrong.</p>
  
  <p>To be clear, I'm not looking for a solution to bypass the <code>ERR_CONTENT_DECODING_FAILED</code> when simply navigating to the given url in a browser.  I want to be able to load, for instance, a csv, into a string in javascript for further parsing.</p>
  
  <p>Can I GET the file, and force it to skip attempting decoding, or override the content-encoding of the response, or some such?</p>