[Yum] Re: Only cosmetics: http referrer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--rS8CxjVDS/+yyDmU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 ;)
--=20
Axel.Thimm@xxxxxxxxxxxxxxxxxxx

--rS8CxjVDS/+yyDmU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+8QGeQBVS1GOamfERAnNRAJ4iV7dTSr4yINSZNXebu9eUXxPRkACgi8+X
SVuK67PoalzCseTKnD0qMks=
=oPMH
-----END PGP SIGNATURE-----

--rS8CxjVDS/+yyDmU--


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux