Check Gzip Compression [C#/.NET 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 C#/.NET code was automatically generated for the Check Gzip Compression example.
Check Gzip Compression [C#/.NET Code] Send
GET /echo HTTP/1.1