In HTTP, there are two ways to specify compression of the content:
Content-Encoding:gzip
Transfer-Encoding:gzip
Amazing discovery of the day: command-line cURL, as of v.7.21.6, recognizes both, while the cURL functions in PHP, as of PHP 5.3.3, only respect the former.
No comments:
Post a Comment