For some reason apparently the download.fedora.redhat.com server doesn't
product Last-Modified headers for iso images. This prevents
InstantMirror from working with them. Thoughts?
$ python
Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib, os, shutil, time, calendar, rfc822, string
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso")
>>> o.headers.getdate("Last-Modified")
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/diskboot.img")
>>> o.headers.getdate("Last-Modified")
(2008, 1, 11, 12, 51, 31, 0, 1, 0)
>>> o =
urllib.urlopen("http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso")
>>> o.headers.getdate("Last-Modified")
>>>
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxxxxxxx
Boulder, CO 80301 http://www.cora.nwra.com
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list