#50247 [Opn->Fbk]: header "Content-type" instead of "Content-Type"

From: Date: Fri, 20 Nov 2009 17:51:57 +0000
Subject: #50247 [Opn->Fbk]: header "Content-type" instead of "Content-Type"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-144873@lists.php.net to get a copy of this message
ID: 50247 Updated by: jani@php.net Reported By: yvan dot taviaud at gmail dot com -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Linux Debian stable (Lenny) PHP Version: 5.2.11 New Comment: And what problem is there with that? Previous Comments: ------------------------------------------------------------------------ [2009-11-20 16:30:46] yvan dot taviaud at gmail dot com Description: ------------ When default_mimetype is set (say "text/html"), and no Content-Type header is sent, PHP adds the following header: Content-type: text/html It should send the following instead: Content-Type: text/html Reproduce code: --------------- Just query a page with <?php echo "Hello World!" ?> in it, and see the headers. Expected result: ---------------- Content-Type: text/html Actual result: -------------- Content-type: text/html ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50247&edit=1

« previous php.bugs (#144873) next »