Rpm download

Todd Zullinger tmz at pobox.com
Thu Nov 30 21:31:26 UTC 2006


Gene Heskett wrote:
> On Thursday 30 November 2006 15:50, Todd Zullinger wrote:
[...]
>>Compare that to a server properly configured for .rpm software
>>packages:
>>
>>$ curl --head
>> http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedor
>>a/RPMS/curl-7.15.5-1.fc6.i386.rpm HTTP/1.1 200 OK
>>Date: Thu, 30 Nov 2006 20:48:48 GMT
>>Server: Apache
>>Last-Modified: Thu, 05 Oct 2006 23:21:52 GMT
>>ETag: "107529d-3a07b-9ee00400"
>>Accept-Ranges: bytes
>>Content-Length: 237691
>>Cache-Control: max-age=86400
>>Expires: Fri, 01 Dec 2006 20:48:48 GMT
>>Content-Type: application/x-rpm                 <----- right
>>
[...]
> I see.  Interesting is that the fedora page didn't even have 
> a "content-type' listing.  But it usually works.

Eh?  It has a content-type header (which I highlighted as right).

> What should the lacie site be returning as a content type?

They should be returning application/x-rpm.  At the very least, they
should not be returning a real audio content-type.  In apache you can
easily change the content type returned for a file type on a
per-directory or even a per-file basis.  I have no clue whether the
Windows IIS server can do this or not, but they should find a way to
make it happen if they plan to serve up .rpm software.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
    -- political "extremist" Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20061130/b3412b7c/attachment-0002.bin 


More information about the users mailing list