Sorry - you'll need to masquerade as Internet Explorer, or some other browser (& version) "known" by their HTTP accelerator to support deflate, in addition to using an "accept-encoding" header.
I don't have my code on this computer, or I'd send it to you right now. I'll try to post a snippet when I get to the office. --- David Carter [EMAIL PROTECTED] > -----Original Message----- > From: Mike Simons [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 2:53 AM > To: David Carter; Paul Marquess > Cc: [EMAIL PROTECTED] > Subject: Re: Net::HTTP does not use compressed transfers when it should > > On Tue, Mar 25, 2003 at 04:42:15PM -0500, Mike Simons wrote: > > - Does anyone know of apache support for transfer-encoding? > > - Does anyone know of linux web applications that use TE:? > > > On Tue, Mar 25, 2003 at 05:44:21AM -0500, David Carter wrote: > > > No need to teach mod_gzip deflate for testing - just find a site on > the > > > internet that already emits "Content-encoding: deflate" & test with > it. > > > Such as http://www.homedepot.com > > > > Very good point... thanks for the URL, I'll try that first. ;) > > Hrmmm... I'm not seeing data sent back compressed. I've tried lynx, > my own get.pl test program, and mozilla. I see the mozilla request > advertise "Accept-Encoding: gzip, deflate, compress;q=0.9" but the > results comes back in the clear. > > - Could you provide the headers from a sample request that will get > deflate data out of it? > - Does anyone else know of a site that sends 'deflate' style replies? > > Thanks, > Mike Simons