note 81687 deleted from function.get-headers by danbrown
| From: | danbrown@php.net | Date: | Mon, 09 Jan 2012 19:59:02 +0000 |
| Subject: | note 81687 deleted from function.get-headers by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185494@lists.php.net to get a copy of this message | ||
Note Submitter: frozenfire at thefrozenfire dot com
----
In response to dxtrim:
Actually, the Content-Type is not based from the file extension in a sense. Any discrepancies in
Content-Type will be the result of a poorly configured web server.
For example:
One can configure Apache to serve a specific Content-Type based on the file extension. So, based on
this, a web server with exhaustive configuration could serve any format using the correct
Content-Type.