#699 [NEW]: bz2 links send wrong Content-Type
| From: | php at cipri dot com | Date: | Fri, 06 Feb 2004 18:37:31 +0000 |
| Subject: | #699 [NEW]: bz2 links send wrong Content-Type | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-1488@lists.php.net to get a copy of this message | ||
From: php at cipri dot com
Operating system: Windows 2000
PHP version: Irrelevant
PHP Bug Type: Web Site
Bug description: bz2 links send wrong Content-Type
Description:
------------
Downloading the bz2 zipped version of the manual[1] sends a wrong HTTP
header, which causes Internet Explorer to save the file as
manual.tar.tar.
This is the wrong header that is send during this process is the.
Content-Type: application/x-tar
Ths .bz2 file is not a tar file at all, but a bz2 file :)
[1] http://pear.php.net/distributions/manual/pear_manual_en.tar.bz2
Reproduce code:
---------------
Download http://pear.php.net/distributions/manual/pear_manual_en.tar.bz2
Expected result:
----------------
Have IE save the file as pear_manual_en.tar.bz2
Actual result:
--------------
IE saves the file as pear_manual_en.tar.tar
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=699&edit=1
--