#23602 [Opn->Bgs]: Can't Force HTTP/1.0 Over HTTP/1.1

From: Date: Tue, 13 May 2003 06:42:10 +0000
Subject: #23602 [Opn->Bgs]: Can't Force HTTP/1.0 Over HTTP/1.1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39510@lists.php.net to get a copy of this message
ID: 23602 Updated by: helly@php.net Reported By: hans at nyu dot edu -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: FreeBSD 4.7 PHP Version: 4.3.2RC2 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You need to "SWITCH" the protocol. Previous Comments: ------------------------------------------------------------------------ [2003-05-12 18:58:41] hans at nyu dot edu I have a .php setup as an ErrorDocument under Apache 1.3.27, compiled as a DSO. When an request is made that isn't found, the page is called without issue. So, I'm trying to set a different header, for example: header('HTTP/1.0 408 Request Time-out',TRUE,408); However, the response header always ends up: HTTP/1.1 408 Request Time-out on the client. If I were to change the status code, everything works as expected, yet I can't override the HTTP version. Is this expected behavior; do I need to force changes like this in Apache's conf, or is it something that could use another look? Many thanks, Hans ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23602&edit=1

« previous php.bugs (#39510) next »