When Compression property is set, wodHttpDLX will send
appropriate headers (Accept-Encoding header) to the server allowing
it to return compressed response - either GZIP or ZLIB compressed.
If server supports these methods (for example,
www.google.com does!), returned
response may be up to 80% smaller than original. When wodHttpDLX
receives such response, it will write uncompressed data to Response.Body
property.
When compression is set, it is possible that
Progress
event and Response.Length
property shows invalid information. It will show information
about compressed content, not the original one. This is normal,
since wodHttpDLX cannot know size of the resource in uncompressed
mode. You should check length of returned resource by checking size
of the file pointed by Response.Filename
property, or get length of Response.Body property.