Handles ZLIB and GZIP content transfer encodings.
property Compressor: TIdZLibCompressorBase;
Compressor is a TIdZLibCompressorBase property that represents the object used to perform ZLIB and GZIP compression and decompression for responses using these content transfer encodings.
Compressor allows the "deflate" or "gzip" content transfer encodings to be handled when creating a connection to the HTTP server, or when reading an HTTP response from the remote server.
Applications must assign an object instance derived from TIdZLibCompressorBase to the property in order to allow handling of the response content stream. Assigning a value to Compressor causes the value in the request to include either "gzip" or "deflate" as acceptable encodings in the response.
Use the ContentStream in the Response to access the decompressed data in the HTTP response.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|