title: Ios CORS headers
body: <p>I have a own Webserver (is self made application with works as a http server on port 8080). This webserver serves html requests wich contains Jquery load requests to fill sections.</p>
  <p>Those load requests fails on IOS devices.</p>
  <p>I added the headers :</p>
  <blockquote>
  <p>Accept-Language:es-ES,es;q=0.9,en;q=0.8</p>
  <p>Accept-Ranges:bytes</p>
  <p>Access-Control-Allow-Headers:*,origin, x-requested-with</p>
  <p>Access-Control-Allow-Methods:POST, GET, OPTIONS</p>
  <p>Access-Control-Allow-Origin: *</p>
  <p>Access-Control-Max-Age:1728000</p>
  <p>Cache-Control:no-cache</p>
  <p>Content-Encoding:gzip</p>
  <p>Content-Type:text/html</p>
  <p>Date:Mon, 6 Nov 2017  GMT</p>
  <p>ETag:&quot;188bc74235f3a445098ca74fb716715c&quot;</p>
  <p>Pragma:cache</p>
  <p>Server:Web Server v1.5</p>
  </blockquote>
  <p>but anyway the load fail on IOS.</p>
  <p>Is there more headers I must satisfy to make this work?</p>
  <p><strong>EDIT:</strong> I found out the Content-Encoding: gzip is the header that faults. If I disable the compression, it works. How can I keep the compression on ios?</p>