title: Accept-Encoding: gzip on iOS
body: <p><strong>Q1</strong> With the iOS App kit, can I expect that <a href="http://en.wikipedia.org/wiki/HTTP_compression"><code>Accept-Encoding: gzip</code></a> will be used automatically, or do I need to explicitly ask for it to be used by setting this in the URL request somewhere?</p>
  
  <p>I'm currently using the call <code>[NSData dataWithContentsOfURL: url]</code>, although I am likely to change over to specifically setting up an NSURLSession – is this likely to automatically request gzip encoding?</p>
  
  <p><strong>Q2</strong> Also, if it <em>is</em> used and the server obliges with gzip-ed content, am I correct that the client side will automatically decode the compressed content transparently so that I don't need to?</p>