Number: 1319
Title: MIME type of *.msi files is incorrect
Submitter: Siu Ching Pong (Asuka Kenji)
Date: Sun Mar 16 23:48:11 2008
Subsys: Other
Version:
System: *-*-
Severity: major
Problem:
Download the following file using Firefox:

http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.18.msi

The link opens in the browser window instead of by popping up a "Save as..." dialog.

Here is the server response to a HEAD request to the same file:


HTTP/1.1 200 OK
Date: Mon, 17 Mar 2008 03:33:48 GMT
Server: Apache/2.2.8 (Fedora)
Last-Modified: Tue, 11 Mar 2008 17:53:42 GMT
ETag: "9800ab-44d480-4482d00439580"
Accept-Ranges: bytes
Content-Length: 4510848
Connection: close
Content-Type: text/plain; charset=UTF-8

Obviously, the "Content-Type" should not be "text/plain".
Fix: Set the MIME type to "application/octet-stream" in Apache.
Owner: north
Status: Fixed (18 Mar 2008)