[Yum-devel] Exposing HTTP headers in YumRepository

James Bowes jbowes at redhat.com
Thu Jul 6 14:18:23 UTC 2006


Hi all:

How do people feel about letting external code access the HTTP headers 
that yum passes down to urlgrabber?

Attached is a patch that adds an http_headers field to YumRepository 
objects. http_headers is a dict (for easy manipulation) that is 
converted to a tuple of 2-tuples before it is passed down into urlgrabber.

-James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: headers.diff
Type: text/x-patch
Size: 2465 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060706/246c043f/attachment.bin 


More information about the Yum-devel mailing list