Re: Compressing SOAP requests

"Scott Nichol" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <12cb01c4c8e4$55f03200$6401a8c0@northgate>
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]
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.