FYI, deflate follows Zlib as described in RFC 1950 (http://www.ietf.org/rfc/rfc1950.txt?number=1950). The Zlib DEFLATE method of compression is described in RFC 1951, while gzip is described in RFC 1952 (http://www.ietf.org/rfc/rfc1952.txt?number=1952). RFC 1952 looks like it specifies 10 bytes for the header, so I am not sure why 8 bytes works....
Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 12, 2004 1:08 PM Subject: Re: Compressing SOAP requests Try it without any CRC: I think gzip may be willing to decompress it, anyway. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Nige White" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 12, 2004 12:48 PM Subject: Re: Compressing SOAP requests > Scott Nichol wrote: > > >The magic header is 8 bytes: "\x1f\x8b\x08\x00\x00\x00\x00\x00". > > > > > > > Interesting. I've read elsewhere that the header is 10 bytes, but... > > I've tried writing those 8 bytes followed by the zlib-deflated data, > followed by 32 bits of zero. > > Now, where gunzip -t used to say "invalid compressed data--format violated" > > it says "invalid compressed data--crc error" > > Any idea how to calculate the CRC? > > _____________________________________________________________________ > This message has been checked for all known viruses. Virus scanning > powered by Messagelabs http://www.messagelabs.com For more information > e-mail : [EMAIL PROTECTED] > > >