#699 [Opn->Csd]: bz2 links send wrong Content-Type

From: Date: Sat, 07 Feb 2004 21:30:40 +0000
Subject: #699 [Opn->Csd]: bz2 links send wrong Content-Type
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-1492@lists.php.net to get a copy of this message
ID: 699 Updated by: mj@php.net Reported By: php at cipri dot com -Status: Open +Status: Closed Bug Type: Web Site Operating System: Windows 2000 PHP Version: Irrelevant New Comment: Looks like application/octet-stream is the correct content type. I've changed the server configuration accordingly. Previous Comments: ------------------------------------------------------------------------ [2004-02-06 13:37:31] php at cipri dot com 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 this bug report at http://pear.php.net/bugs/bug.php?id=699&edit=1

« previous php.pear.webmaster (#1492) next »