From: yvan dot taviaud at gmail dot com Operating system: Linux Debian stable (Lenny) PHP version: 5.2.11 PHP Bug Type: *General Issues Bug description: header "Content-type" instead of "Content-Type"
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 bug report at http://bugs.php.net/?id=50247&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50247&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50247&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50247&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50247&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50247&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50247&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50247&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50247&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50247&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50247&r=support Expected behavior: http://bugs.php.net/fix.php?id=50247&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50247&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50247&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50247&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50247&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50247&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50247&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50247&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50247&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50247&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50247&r=mysqlcfg