From: Aaron Patterson Date: 2007-12-10T14:53:07+09:00 Subject: Re: [PATCH] http compression, zlib agnostic, for 1.9 On Sat, Nov 10, 2007 at 05:28:01AM +0900, Hugh Sasse wrote: > I have revised my http compression (gzip, deflate) patch such that > if zlib is not available, the patch is effectively switched out. > This works on my system, which has zlib. I don't have a system > without zlib to check that the behaviour is definitely sensible. > I've also been unable to test the deflate variety of compression, > since I can still only find servers with gzip as the option. > > Can anyone help me out with these testing deficiencies, please? My system has zlib, but I made it break on purpose to test on-zlib support, and this patch worked for me. So will this get applied? Just out of curiosity, how do you get ruby installed without zlib? IMHO, if it is part of the standard library, you should be able to rely on it being there. It would be weird to make net/http work without relying on uri (which is part of stdlib), right? -- Aaron Patterson http://tenderlovemaking.com/