Check Gzip Compression [PHP Code]

An example of checking if gzip compression is enabled for the server. To test gzip compression for any resource, simply make a GET request to that resource. When gzip compression is enabled, response headers contain the Content-Encoding: gzip header along with other headers. The PHP code was automatically generated for the Check Gzip Compression example.
Loading...