Check Gzip Compression [JavaScript/AJAX 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 JavaScript/AJAX code was automatically generated from the Check Gzip Compression.
Loading...