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

From: Date: Wed, 10 Jan 2007 22:48:35 +0000
Subject: #34537 [Ver->Fbk]: 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-107446@lists.php.net to get a copy of this message
ID: 34537 Updated by: iliaa@php.net Reported By: alisencer at gmail dot com -Status: Verified +Status: Feedback Bug Type: HTTP related Operating System: * PHP Version: 5CVS-2005-09-22 New Comment: Can you try to see if the problem is gone with 5.2-CVS and latest stable Apache2 server? Previous Comments: ------------------------------------------------------------------------ [2006-02-21 13:48:55] mike@php.net Most probably related to this Apache bug/behaviour: http://issues.apache.org/bugzilla/show_bug.cgi?id=38070 ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#107446) next »