#23602 [NEW]: Can't Force HTTP/1.0 Over HTTP/1.1
| From: | hans at nyu dot edu | Date: | Mon, 12 May 2003 23:58:41 +0000 |
| Subject: | #23602 [NEW]: Can't Force HTTP/1.0 Over HTTP/1.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39503@lists.php.net to get a copy of this message | ||
From: hans at nyu dot edu
Operating system: FreeBSD 4.7
PHP version: 4.3.2RC2
PHP Bug Type: HTTP related
Bug description: Can't Force HTTP/1.0 Over HTTP/1.1
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 bug report at http://bugs.php.net/?id=23602&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23602&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23602&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23602&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23602&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23602&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23602&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23602&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23602&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23602&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23602&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23602&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23602&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23602&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23602&r=gnused