Maybe now better, but a simple wget still gives HTTP/1.0 :(
authorRoland Häder <roland@mxchange.org>
Tue, 16 Mar 2010 23:33:15 +0000 (23:33 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Mar 2010 23:33:15 +0000 (23:33 +0000)
inc/functions.php

index 9a1f4e1cd983c53720e2a7e750e64d7be57ac55e..69477a7dc847bc199728c6894e5948d69559cee1 100644 (file)
@@ -134,7 +134,7 @@ function sendHttpHeaders () {
        $now = gmdate('D, d M Y H:i:s') . ' GMT';
 
        // Send HTTP header
        $now = gmdate('D, d M Y H:i:s') . ' GMT';
 
        // Send HTTP header
-       sendHeader('HTTP/1.1 200');
+       sendHeader('HTTP/1.1 200 OK');
 
        // General headers for no caching
        sendHeader('Expires: ' . $now); // RFC2616 - Section 14.21
 
        // General headers for no caching
        sendHeader('Expires: ' . $now); // RFC2616 - Section 14.21