problem with header() and php trunk
| From: | Carsten Wiedmann | Date: | Thu, 24 Feb 2011 16:28:18 +0000 |
| Subject: | problem with header() and php trunk | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-51533@lists.php.net to get a copy of this message | ||
Hi list,
this code is not working with the current trunk:
| <?php
| header('Content-Language: ');
| ?>
The result is an internale server error:
| [Thu Feb 24 17:21:25 2011] [error] [client ::1] malformed header from
| script. Bad header=Content-Language: php-cgi.exe
Without only a space after ":"
| header('Content-Language:');
or
| header('Content-Language: en-US');
it's working.
Regards,
Carsten