[Yum-devel] Re: enable yum to pass http data to repository

Alan Milligan alan at balclutha.org
Sat Nov 19 00:56:35 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Bryan Mills wrote:

> Wondering if anyone had a chance to review this yet?
> 

I've only half been following this thread, and I had rather hoped
someone would already have informed you as to the irrelevance of what
you are trying to do.

The HTTP protocol already supports user authentication in the
AUTHORIZATION header.  There is no need to even *consider* putting this
information into a request payload.

Even more wonderful for you, is that URLGrabber supports basic http
authentication url extensions.

Thus, you'd do something like the following in your repo file:

[base]
name=BastionLinux $releasever - $basearch - Base
baseurl=https://username:password@linux.last-bastion.net/RPC2/up2date/server
...

Alan


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDfnhCCfroLk4EZpkRAs23AJ9zbsLZvhNYmclU8P+VQJIBKxK2uwCeP86p
vvh8UJvmr9VHdW2Dy3WtLNA=
=uANk
-----END PGP SIGNATURE-----



More information about the Yum-devel mailing list