[Yum-devel] Metalinks for Fedora 10 repomd.xml etc.

Matt Domsch Matt_Domsch at dell.com
Mon Oct 6 15:37:00 UTC 2008


On Sun, Oct 05, 2008 at 06:28:07PM -0400, James Antill wrote:
> > >  Also while it won't help us right now, is it possible to get MM to
> > > obey/use "Accept-Encoding: gzip"?
> > 
> > sure - tell me what I need to do.  if I see that header, gzip the data
> > before returning it?  Any other headers or data types that need to
> > change when doing so?
> 
>  Yeh, mostly ... you give out the data after passing through gzip, and
> you add the response header "Content-Encoding: gzip".
>  You can test it with:
> 
> curl -v --compressed --head \
> 'http://mirrors.fedoraproject.org/metalink?repo=updates-released-f9.newkey&arch=x86_64'
> 
>  I can't think of any other headers.

done.  this isn't live yet, but will be in the next release.  Winds up
reducing a 45562 byte file to 3799 bytes, not bad!

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux


More information about the Yum-devel mailing list