2008/link-testsuite http.php,1.1,1.2

Update of /sources/public/2008/link-testsuite
In directory hutz:/tmp/cvs-serv9873

Modified Files:
	http.php 
Log Message:
seems like header() is not quite doing what I asked

Index: http.php
===================================================================
RCS file: /sources/public/2008/link-testsuite/http.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- http.php	28 Jan 2008 02:16:06 -0000	1.1
+++ http.php	28 Jan 2008 05:27:32 -0000	1.2
@@ -36,9 +36,7 @@
 if ($_GET['code'] != '') {
     if(isset($codes[$_GET['code']])) {
         $code = $_GET['code'];
-        header('', 
-        TRUE, 
-        (int) $code);
+        header("HTTP/1.0 $code $codes[$code]");
     }
 }
 ?>

Received on Monday, 28 January 2008 05:27:44 UTC