title: Uncompress a gzip file from CURL, on php
body: <p>Does anyone know how to uncompress the contents of a gzip file that i got with curl?</p>
  
  <p>for example: <a href="http://torcache.com/torrent/63ABC1435AA5CD48DCD866C6F7D5E80766034391.torrent" rel="noreferrer">http://torcache.com/torrent/63ABC1435AA5CD48DCD866C6F7D5E80766034391.torrent</a></p>
  
  <p>responded </p>
  
  <pre><code>HTTP/1.1 200 OK
  Server: nginx
  Date: Wed, 09 Jun 2010 01:11:26 GMT
  Content-Type: application/x-bittorrent
  Content-Length: 52712
  Last-Modified: Tue, 08 Jun 2010 15:09:58 GMT
  Connection: keep-alive
  Expires: Fri, 09 Jul 2010 01:11:26 GMT
  Cache-Control: max-age=2592000
  Content-Encoding: gzip
  Accept-Ranges: bytes
  </code></pre>
  
  <p>then the compressed gzip, </p>
  
  <p>i tried gzdecode but doesn't work , gzeflate as well doesn't they simply don't get any response, and the contents of the files are no more than 2k</p>