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")
--
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
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-11-2008, 08:37 PM
Orion Poplawski
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")
=> `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!
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-11-2008, 08:50 PM
Andrew Farris
Problems with InstantMirror and iso images
Orion Poplawski wrote:
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?
snip
Some more info (looks like a redirect to ftp). I'll file a ticket.
If I'm not mistaken that redirect is there so that it can share the load with a
few different primary mirrors (so intentional).
--
Andrew Farris <lordmorgul@gmail.com> <ajfarris@gmail.com>
gpg 0xC99B1DF3 fingerprint CDEC 6FAD BA27 40DF 707E A2E0 F0F6 E622 C99B 1DF3
No one now has, and no one will ever again get, the big picture. - Daniel Geer
---- ----
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-12-2008, 09:55 PM
Matt Domsch
Problems with InstantMirror and iso images
On Fri, Jan 11, 2008 at 01:50:02PM -0800, Andrew Farris wrote:
> Orion Poplawski wrote:
> >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?
>
> snip
>
> >Some more info (looks like a redirect to ftp). I'll file a ticket.
>
> If I'm not mistaken that redirect is there so that it can share the load
> with a few different primary mirrors (so intentional).
The redirect to FTP is intentional because older apache servers can't
serve >2GB files.
--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list