Sending Responses Compressed by gzip
An InterSystems IRIS® data platform web client can compress its response messages with gzip, a free compression program that is widely available on the Internet. This compression occurs after any other message packaging (such as creating MTOM packages). To cause a web client to do so, do either of t he following:
-
Set the GzipOutput property equal to 1 in the web client instance.
-
Set the GZIPOUTPUT parameter equal to 1 in the web client class.
If you do so, be sure that the web service can automatically decompress the message with gunzip, the corresponding decompression program. (If the web service is an InterSystems IRIS web service, note that the Web Gateway automatically decompresses inbound messages before sending them to the web service.)