title: Safari not passing accept-encoding:gzip, deflate
body: <p>I am making requests to cloudfront CDN and seeing very frustrating behavior. In chrome and firefox, the request passed the proper <code>accept-encoding:gzip, deflate</code> header.</p>
  
  <p>However, safari does not do this and thus gets the uncompressed version of the file. This is a simple script tag in an HTML document. So I can't set the headers.</p>
  
  <p>the same doc produces a request with the following header/browser combos</p>
  
  <p>Safari headers</p>
  
  <blockquote>
    <p>-H 'Cache-Control: max-age=0' \
    -H 'If-Modified-Since: Mon, 08 May 2017 18:01:40 GMT' \
    '</p>
  </blockquote>
  
  <p>Chrome Headers</p>
  
  <blockquote>
    <p>:method:GET
    :path:/main-b54b8739d65dfbd36152.js
    :scheme:https
    accept:<em>/</em>
    accept-encoding:gzip, deflate, sdch, br
    accept-language:en-US,en;q=0.8
    cache-control:no-cache
    pragma:no-cache</p>
  </blockquote>
  
  <p>Also, the respective web inspectors provides additional information, in safari,<a href="https://i.stack.imgur.com/6Fffi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6Fffi.png" alt="Safari Screen shot"></a></p>
  
  <p>And in chrome, 
  <a href="https://i.stack.imgur.com/nTL83.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nTL83.png" alt="enter image description here"></a></p>
  
  <p>Additionally, the request takes 3 times longer in safari. 55ms in chrome and 150ms in safari, roughly.</p>
  
  <p>I left out some info to protect my privacy. Thanks for the help!</p>