On Fri, Jan 14, 2011 at 06:08:54PM +0100, Marc Espie wrote: > On Sun, Jan 09, 2011 at 04:21:51PM -0500, Ted Unangst wrote: > > Downloading things can go a lot faster if the server and client support > > http compression. This is easily added to the ftp program's http support. > > > > It consists of two parts. Support for deflating the data we receive and > > support for the chunked transfer the server will use to send data to us. > > The chunked supported is probably useful in its own right as well. > > How does it work if you use http to transfer already compressed files ? > Does it need special intelligence to avoid compressing things again ?
It just asks the server that it may compress the content. The server logic is normally either MIME type specific or configured to exclude certain extensions. Joerg