wwPageResponse::GZipCompression

If set to .T. automatically encodes the Response output to GZip compressed format. When set Web Connection automatically checks whether the client supports GZip compression and only compresses content if it does.

This routine adds the required Response header and compresses the output properly.

This routine checks the Accept-Encoding header in an Assign method to the property, and then performs the actual header addition and compression as part of the Render() method.



o.GZipCompression                                           

Remarks

Requires that Zlib1.dll is available.

See also:

Class wwPageResponse


  Last Updated: 2/5/2007 | © West Wind Technologies, 2008