Requesting a GZIP'ed page and processing with cURL and PHP

Posted by Josh K on Stack Overflow See other posts from Stack Overflow or by Josh K
Published on 2010-04-10T00:52:05Z Indexed on 2010/04/10 0:53 UTC
Read the original article Hit count: 365

Filed under:
|
|
|

I'd like to make a cURL request that accepts a gzip'ed page. I would then like to unzip the page and process it. I haven't been able to find any ready built examples, so I would like a quick one. Any settings that need to be adjusted, making the actual request, and decompressing the contents.

© Stack Overflow or respective owner

Related posts about php

Related posts about curl