|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-12 01:40 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 20:00:02 2025 UTC |
Description: ------------ Specifying header("HTTP/1.1 200 OK") should emit Status: 200 but nothing appears. See: Bug #27026 "header('HTTP/1.0 200 OK') never sent when explicitly requested" - seems like this issue was reported for unix PHP & apparently was fixed but doesn't show up in the latest Win CVS. Reproduce code: --------------- <?php header("HTTP/1.1 200 OK"); header("Content-Type: text/plain"); ?> Expected result: ---------------- C:\PHP>php run.php Status: 200 X-Powered-By: PHP/4.3.10-dev Content-Type: text/plain Actual result: -------------- C:\PHP>php run.php X-Powered-By: PHP/4.3.10-dev Content-Type: text/plain