#40874 [Opn->Fbk]: .msi download comes through as text/plain
| From: | bjori@php.net | Date: | Wed, 21 Mar 2007 11:14:39 +0000 |
| Subject: | #40874 [Opn->Fbk]: .msi download comes through as text/plain | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-34828@lists.php.net to get a copy of this message | ||
ID: 40874
Updated by: bjori@php.net
Reported By: dave at psntn dot com
-Status: Open
+Status: Feedback
Bug Type: Website problem
Operating System: Windows
PHP Version: Irrelevant
New Comment:
Which mirror was that?
Previous Comments:
------------------------------------------------------------------------
[2007-03-20 22:37:42] dave at psntn dot com
Description:
------------
When downloading the "PHP 5.2.1 installer" msi file, the server sends
back a Content-type of text/plain instead of whatever it should be
Reproduce code:
---------------
Download from here:
http://www.php.net/get/php-5.2.1-win32-installer.msi/from/a/mirror
Expected result:
----------------
A box would pop up asking to save/open file
Actual result:
--------------
Web browser (Firefox and Opera but not MSIE) attempts to render it as
plain text and promptly crashes (having maxed out the CPU).
The HTTP response from the server is as follows:
HTTP/1.x 200 OK
Date: Tue, 20 Mar 2007 22:31:11 GMT
Server: Apache/2.2.2 (Fedora)
Last-Modified: Mon, 12 Feb 2007 14:31:48 GMT
Etag: "1497f-131c008-5e943d00"
Accept-Ranges: bytes
Content-Length: 20037640
Connection: close
Content-Type: text/plain; charset=UTF-8
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40874&edit=1