#40874 [Fbk->Opn]: .msi download comes through as text/plain
| From: | dave at psntn dot com | Date: | Wed, 21 Mar 2007 13:28:27 +0000 |
| Subject: | #40874 [Fbk->Opn]: .msi download comes through as text/plain | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-34829@lists.php.net to get a copy of this message | ||
ID: 40874
User updated by: dave at psntn dot com
Reported By: dave at psntn dot com
-Status: Feedback
+Status: Open
Bug Type: Website problem
Operating System: Windows
PHP Version: Irrelevant
New Comment:
It only seems to be with the uk* mirrors. I've tried about 5 others
and they all pop the download box up (although the ones I observed sent
back text/plain too).
Previous Comments:
------------------------------------------------------------------------
[2007-03-21 11:14:39] bjori@php.net
Which mirror was that?
------------------------------------------------------------------------
[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