#34537 [Ver]: Last-Modified header + Status: 200 results in 200 OK without body

From: Date: Tue, 21 Feb 2006 12:48:56 +0000
Subject: #34537 [Ver]: Last-Modified header + Status: 200 results in 200 OK without body
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-93473@lists.php.net to get a copy of this message
ID: 34537 Updated by: mike@php.net Reported By: alisencer at gmail dot com Status: Verified Bug Type: HTTP related Operating System: * PHP Version: 5CVS-2005-09-22 New Comment: Most probably related to this Apache bug/behaviour: http://issues.apache.org/bugzilla/show_bug.cgi?id=38070 Previous Comments: ------------------------------------------------------------------------ [2005-09-19 08:58:30] sniper@php.net Using Apache2 and apache2handler module I get the same results as with Apache1. ------------------------------------------------------------------------ [2005-09-19 02:50:01] alisencer at gmail dot com I was only able to test with Apache1.3 and mod_php (instead of CGI). There it does not happen, I get a regular 200 with body. ------------------------------------------------------------------------ [2005-09-19 02:40:09] rasmus@php.net Does the same thing happen under Apache1? ------------------------------------------------------------------------ [2005-09-19 01:58:36] alisencer at gmail dot com Hi Sniper, thanks for your quick reply. I think there's a misunderstatement. I know HTTP headers and how they work. Please re-read the bug-report. I am setting 200 OK and sending a body. Something along the way decides it should be a 304, but does NOT change the status-code. Instead it silently drops the body of the response. I don't know what this something along the way is - it might be PHP or it might be Apache2. But I doubt that this would be expected behaviour. Thanks for your reconsideration and effort. ------------------------------------------------------------------------ [2005-09-18 22:25:07] sniper@php.net Expected behaviour. Please read more about the headers at: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34537 -- Edit this bug report at http://bugs.php.net/?id=34537&edit=1

« previous php.bugs (#93473) next »