#21423 [Ana->Csd]: One of the mirrors for 4.3.0 appears to be faulty

From: Date: Mon, 06 Jan 2003 10:43:44 +0000
Subject: #21423 [Ana->Csd]: One of the mirrors for 4.3.0 appears to be faulty
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14781@lists.php.net to get a copy of this message
ID: 21423 Updated by: goba@php.net Reported By: silicon@bigpond.net.au -Status: Analyzed +Status: Closed Bug Type: Website problem Operating System: Windows ME PHP Version: 4.3.0 New Comment: OK, so this is fixed... Previous Comments: ------------------------------------------------------------------------ [2003-01-05 19:44:44] steve@ilisys.com.au That problem should be fixed now. Apologies for the oversight. We now replicate the behavior of the primary php.net site. $ curl -I http://www.php.net/distributions/php-4.3.0.tar.gz HTTP/1.1 200 OK (...) Content-Type: application/x-tar Content-Encoding: x-gzip $ curl -I http://au2.php.net/distributions/php-4.3.0.tar.gz HTTP/1.1 200 OK (...) Content-Type: application/x-tar Content-Encoding: x-gzip regards, Steve ------------------------------------------------------------------------ [2003-01-05 11:55:48] goba@php.net As Sander pointed out, the server is not sending the proper HTTP headers. So the mirror setup should be corrected... ------------------------------------------------------------------------ [2003-01-05 09:33:08] sander@php.net $ curl -I http://www.php.net/distributions/php-4.3.0.tar.gz HTTP/1.1 200 OK (...) Content-Type: application/x-tar Content-Encoding: x-gzip $ curl -I http://au2.php.net/distributions/php-4.3.0.tar.gz HTTP/1.1 200 OK (...) Content-Type: application/x-tar That's the cause of the problem. Some browsers 'fix' the extension using the supplied Content-Type. It should be either application/x-gzip or application/octet-stream, which is always safe, or it should provide a Content-Encoding header. ------------------------------------------------------------------------ [2003-01-05 09:04:33] toni.viemero@iki.fi I bet this "bug" is because Windows browsers like to change the file-extension. (Using Phoenix 0.5 in Windows results in .tar.gz.tar (in every site I can remember)). The server itself is serving the files ok. [toni@extra:~]$ wget "http://www.php.net/do_download.php?mr=http%3A%2F%2Fau2.php.net%2F&df=php-4.3.0.tar.gz" ... Connecting to www.php.net[64.246.30.37]:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://au2.php.net/distributions/php-4.3.0.tar.gz [following] ... 17:01:47 (107.88 KB/s) - `php-4.3.0.tar.gz' saved [4501159/4501159] ------------------------------------------------------------------------ [2003-01-05 07:09:00] silicon@bigpond.net.au Great! Hope it gets fixed soon. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21423 -- Edit this bug report at http://bugs.php.net/?id=21423&edit=1

« previous php.mirrors (#14781) next »