Bug #52159 [Opn->Bgs]: $_SERVER['CONTENT_TYPE'] is not documented
| From: | degeberg@php.net | Date: | Wed, 23 Jun 2010 12:52:40 +0000 |
| Subject: | Bug #52159 [Opn->Bgs]: $_SERVER['CONTENT_TYPE'] is not documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4593@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52159&edit=1
ID: 52159
Updated by: degeberg@php.net
Reported by: sjoerd at react dot com
Summary: $_SERVER['CONTENT_TYPE'] is not documented
-Status: Open
+Status: Bogus
Type: Bug
Package: Documentation problem
Operating System: any/all
PHP Version: 5.3.2
New Comment:
As the page you linked to says: "The entries in this array are created
by the web server. There is no guarantee that every web server will
provide any of these; servers may omit some, or provide others not
listed here."
There is no guarantee that CONTENT_TYPE will be present in $_SERVER.
It's not the case on Apache/2.2.14 (Ubuntu) for instance.
Previous Comments:
------------------------------------------------------------------------
[2010-06-23 14:40:55] sjoerd at react dot com
Description:
------------
$_SERVER['CONTENT_TYPE'] contains the content-type of the request, but
this is not
documented. I would expect it here:
http://www.php.net/manual/en/reserved.variables.server.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52159&edit=1