ID:               30510
 Updated by:       [EMAIL PROTECTED]
 Reported By:      michael at neko dot cc
-Status:           Open
+Status:           Bogus
 Bug Type:         CGI related
 Operating System: Windows
 PHP Version:      4.3.9
 New Comment:

- Fixed bug #27026 (Added "cgi.nph" php.ini option to allow forcing of
the
  'Status: 200' header that is not normally needed). (Ilia)

Reading the NEWS file might have been a good idea?



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

[2004-10-21 14:02:04] michael at neko dot cc

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



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


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

Reply via email to