#21423 [Ana]: One of the mirrors for 4.3.0 appears to be faulty
| From: | goba@php.net | Date: | Sun, 05 Jan 2003 17:55:56 +0000 |
| Subject: | #21423 [Ana]: 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-14749@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
Bug Type: Website problem
Operating System: Windows ME
PHP Version: 4.3.0
New Comment:
As Sander pointed out, the server is not sending the proper HTTP
headers. So the mirror setup should be corrected...
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2003-01-05 07:08:08] goba@php.net
Yes, you are right. I am going to contact the maintainer, and point him
to thig bugreport....
------------------------------------------------------------------------
[2003-01-05 07:05:37] silicon@bigpond.net.au
Well, here is the direct link to the file in question.
http://www.php.net/do_download.php?mr=http%3A%2F%2Fau2.php.net%2F&df=php-4.3.0.tar.gz
That link leads to the .tar.tar file.
------------------------------------------------------------------------
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