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

Re: Problems with InstantMirror and iso images



Orion Poplawski wrote:
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")
 >>>


Some more info (looks like a redirect to ftp).  I'll file a ticket.


wget -S http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso --14:34:01-- http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/boot.iso
           => `boot.iso'
Resolving download.fedora.redhat.com... 209.132.176.20, 209.132.176.220, 66.187.224.20
Connecting to download.fedora.redhat.com|209.132.176.20|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 302 Found
  Date: Fri, 11 Jan 2008 21:34:01 GMT
  Server: Apache
Location: ftp://download.fedora.redhat.com//pub/fedora/linux/development/i386/os/images/boot.iso
  Cache-Control: max-age=21600
  Expires: Sat, 12 Jan 2008 03:34:01 GMT
  Content-Length: 270
  Keep-Alive: timeout=15, max=100
  Connection: Keep-Alive
  Content-Type: text/html; charset=iso-8859-1
Location: ftp://download.fedora.redhat.com//pub/fedora/linux/development/i386/os/images/boot.iso [following] --14:34:01-- ftp://download.fedora.redhat.com//pub/fedora/linux/development/i386/os/images/boot.iso
           => `boot.iso'
Connecting to download.fedora.redhat.com|209.132.176.20|:21... connected.
Logging in as anonymous ...
220 Fedora FTP server ready. Storage Provided by NetApp. All transfers are logged. [no EPSV]
--> USER anonymous

331 Please specify the password.
--> PASS Turtle Power!

230 Login successful.
--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion cora nwra com
Boulder, CO 80301              http://www.cora.nwra.com


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