title: App Engine Accept-Encoding
body: <p>In the APP Engine API, it is mentioned that, if the request comes with <code>"Accept-Encoding"</code> set, then it will automatically compress the response.</p>
  
  <p>But when I look at the request, the header is not there. but at the browser, it is set. when I try to explicitly set the header(with <a href="http://api.jquery.com/jQuery.ajax/" rel="noreferrer"> JQuery ajax</a> function), there is a message:</p>
  
  <pre><code> Refused to set unsafe header "Accept-Encoding"
  </code></pre>
  
  <p>But this situation is not occurring when working in local host - request has the "Accept-Encoding" header. this happens only after publishing. but not allowing to set the "Accept-Encoding" explicitly happens always.</p>
  
  <p>I searched everywhere, but couldn't find a explanation to the problem. It would be really helpful if someone can explain...</p>