Yum repomd.xml error

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



On Tue, 2005-05-10 at 21:02, Lamar Owen wrote:

> No, but if she steps on your foot, there's two reasons why: she can't dance, 
> or you can't move your feet fast enough.  Her misstep has two causes. In this 
> case, yum is getting an RFC2616 compliant response code of 304 as an 
> inappropriate response (after all, 304 is indicated only with a conditional 
> GET and is intended to answer caching questions).

I don't think I've ever seen apache get that wrong, although it can
be fooled by bad timestamps on the underlying files.

> Now, the question becomes 
> how yum is doing its GET, and how yum responds to an unexpected 304, which 
> just means Not Modified. The urlgrab routines apparently don't handle this 
> for yum (it's open source; I read the source).  Fixable with a little work, 
> really.

It makes perfect sense to do a conditional get if you already have a
copy of something that is likely to be unchanged on the server.

-- 
  Les Mikesell
   les@xxxxxxxxxxxxxxxx



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux