[Yum] HTTP basic auth patch (was Re: Basic auth fails in 1.97, works in previous versions)

seth vidal skvidal at phy.duke.edu
Thu May 22 03:52:23 UTC 2003


> I haven't been following the failover thing at all.  So with failover, 
> there can be multiple baseurl entries per serverid?

yes.
essentially the failover code buys us multiple server reliability and
mirror support.

> This is where I've been going, obviously, because Seth pointed me in 
> that direction, and I had no strong objections to it.  (BTW-Seth, was 
> there a reason to switch to urllib2, instead of urllib, other than just 
> that it is newer?  It seems unnecessarily complicated and new-fangled 
> for what yum has to do, while urllib is dead simple.  But I'm a Python 
> newbie, so I'm not allowed to hold strong opinions.)
> 


 urlgrabber was entirely written by michael stenner - he did it
originally b/c of a request for keep-alive support and he thought it'd
be fun to play with.

he went with urllib2 b/c it is more flexible than urllib and it is the
future.

-sv





More information about the Yum mailing list