Gene Heskett wrote: > On Thursday 30 November 2006 09:37, Todd Zullinger wrote: [...] >>The lightscribe.com site has an incorrected mime-type set for .rpm >>files (audio/x-pn-realaudio-plugin), at least for .rpm files as most >>of us are used to them. You can use wget to download it: >> > That's not lacies mistake Yes, it is their mistake. They are returning the wrong mime-type. See for yourself with curl: $ curl --head http://www.lightscribe.com/downloadSection/linux/downloads/lightscribe-1.4.124.1-linux-2.6-intel.rpm HTTP/1.1 200 OK Content-Length: 489040 Content-Type: audio/x-pn-realaudio-plugin <----- wrong Last-Modified: Thu, 02 Nov 2006 20:20:20 GMT Accept-Ranges: bytes ETag: "05a6c51bcfec61:79d" Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Thu, 30 Nov 2006 20:41:09 GMT 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/Fedora/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 > its the browsers mimetype associations and can be fixed if one is > determined to. You wouldn't be fixing it so much as rigging it if you forced all content with the mime-type audio/x-pn-realaudio-plugin to be downloaded or worse yet, sent to some tool that is expecting an rpm package. What if you want to view an actual Real Audio .rpm? The mime-type should be set properly by the web server to give the best indication to the browser of what it should be doing with the content. > Its also very very commonly made, and can be worked around by right > clicking and choosing the save as option from the pop-up. In this case that's difficult do to the lightscribe site not providing a direct link to the file but instead making the user click "I Agree" to a popup window and then redirecting to the (wrongly labelled) .rpm file. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ====================================================================== Revolution, n.: In politics, an abrupt change in the form of misgovernment. -- Ambrose Bierce
Attachment:
pgpdiUWQ4I0zR.pgp
Description: PGP signature
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list