Incorrect mime type for Windows HTML Help Files
| From: | Markus Fischer | Date: | Wed, 25 Jun 2003 10:14:04 +0000 |
| Subject: | Incorrect mime type for Windows HTML Help Files | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18938@lists.php.net to get a copy of this message | ||
The server at static.php.net seems to send a wrong Content-Type for
the *.chm files:
$ wget -S http://www.php.net/distributions/manual/php_manual_en.chm
--12:08:41-- http://www.php.net/distributions/manual/php_manual_en.chm
=> `php_manual_en.chm'
Resolving www.php.net... done.
Connecting to www.php.net[64.246.30.37]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 302 Found
2 Date: Wed, 25 Jun 2003 09:57:52 GMT
3 Server: Apache/1.3.26 (Unix) mod_gzip/1.3.26.1a PHP/4.3.3-dev
4 Location: http://static.php.net/www.php.net/distributions/manual/php_manual_en.chm
5 Connection: close
6 Content-Type: text/html; charset=iso-8859-1
Location: http://static.php.net/www.php.net/distributions/manual/php_manual_en.chm
[following]
--12:08:41-- http://static.php.net/www.php.net/distributions/manual/php_manual_en.chm
=> `php_manual_en.chm'
Resolving static.php.net... done.
Connecting to static.php.net[64.246.30.196]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 Ok
2 Server: Premium thttpd/5.6
3 Date: Wed, 25 Jun 2003 09:57:51 GMT
4 Content-Type: text/plain; charset=iso-8859-1
5 Last-Modified: Mon, 23 Jun 2003 02:00:11 GMT
6 Content-Length: 3584400
7 Connection: Keep-Alive
Here the configured Content-Type is text/plain. This for
example causes confusion for Mozilla/Opera on Windows because
they try to display the data which is far from being plain
text.
thanks,
- Markus