Decode/inflate/uncompress Content-Encoding:gzip body ?

2007-09-22 02:49:48 PM
I have tried with Indy10, ZLibEx, and Abbrivia and they all report
data errors; I must be doing something fundamentally wrong.
I use WinINet.InternetReadFile(..) to get the body, and it works
perfectly for uncompressed resources, so I think that is okay.
I've tried setting the InputStream.Position = 8 or 9 (skip the
header?), but that makes no difference.
Any ideas ?