[Yum] Re: Only cosmetics: http referrer?

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Thu Jun 19 00:19:42 UTC 2003


Hi,

Axel Thimm wrote:
> looking at my stats I see yum come up as "Python-urllib/2.0a1", would you like
> to change that to something like yum/someversionhere?

Here is a small patch, that changes the User-Agent to "Yum/1.98". It
wasn't as trivial as I hoped it were, but the result is quite compact
and comprehendable.

This is my first python code, treat with care ;)
-- 
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20030619/b21d0ff6/attachment-0001.pgp 


More information about the Yum mailing list