Mark Smith <> wrote:
> Following is the response header from IIS:
>
> HTTP/1.1 200 OK
> Cache-Control: no-cache
> Connection: close
> Date: Mon, 19 Dec 2005 21:00:17 GMT
> Pragma: no-cache
> Content-Type: text/html
> Expires: Wed, 01 Jan 1997 12:00:00 GMT
> Server: Microsoft-IIS/6.0
> P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
> Content-Encoding: gzip
> Vary: Accept-Encoding
> Transfer-Encoding: chunked
>
> The http data was captured from all of the TCP packets in sequence, and
> saved to a .Z file. The file will not uncompress using GUNZIP utility.
> I opened the .z file in a hex editor, and was able to see that the
> header does not begin with the magic header for gzip files. I fixed
> that, but it still doesn't work.
>
> HOW COULD I UNCOMPRESS THE CAPTURED HTTP DATA?
It is not necessary to shout at us like that.
> thanks much for all your help!
Did you have a Perl question?
--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas