ID:               35433
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cyberdog3k at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: Windows Server 2003
 PHP Version:      5.1.0
 New Comment:

Why did you decide it doesn't send it?
Did you check it with telnet or something else?
>From what I can see, the header is there and it's fine:

Content-Type: text/html



Previous Comments:
------------------------------------------------------------------------

[2005-11-27 23:20:38] cyberdog3k at gmail dot com

Description:
------------
The phpinfo() function does not return a Content-Type header.  I found
in ext/standard/info.c that the <meta http-equiv=\"Content-Type\"
content=\"text/html; charset=%s\" /> line is commented out, but there
does not seem to be an explanation in the comments for why this is the
case.  I've verified that no Content-Type header is ever inserted on
its way to the client.  This poses a problem when validating the
results, and would seem to be poor practice even if it's not entirely
necessary to have the tag in there.

Reproduce code:
---------------
<?php 
  phpinfo();
?>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35433&edit=1

Reply via email to