https://issues.apache.org/bugzilla/show_bug.cgi?id=57198
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- >From the first quick try, I'm not able to reproduce the issue. My PHP script looks like this: <?php header('Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT');?> test At first I've tried request with If-Modified-Since before the date in PHP script. This returns 200 OK with body as expected: # curl --header 'If-Modified-Since: Tue, 14 Nov 1995 04:58:08 GMT' http://localhost/index.php -v > GET /index.php HTTP/1.1 > User-Agent: curl/7.32.0 > Host: localhost > Accept: */* > If-Modified-Since: Tue, 14 Nov 1995 04:58:08 GMT > < HTTP/1.1 200 OK < Date: Tue, 11 Nov 2014 09:41:25 GMT < Server: Apache/2.4.10 (Fedora) Phusion_Passenger/4.0.53 < X-Powered-By: PHP/5.5.18 < Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT < Transfer-Encoding: chunked < Content-Type: text/html; charset=UTF-8 < test Then I've tried with different If-Modified-Since to trigger to 304. This returns 304, but I don't see the php script content there: # curl --header 'If-Modified-Since: Wed, 15 Nov 1995 04:58:08 GMT' http://localhost/index.php -v > GET /index.php HTTP/1.1 > User-Agent: curl/7.32.0 > Host: localhost > Accept: */* > If-Modified-Since: Wed, 15 Nov 1995 04:58:08 GMT > < HTTP/1.1 304 Not Modified < Date: Tue, 11 Nov 2014 09:41:17 GMT < Server: Apache/2.4.10 (Fedora) Phusion_Passenger/4.0.53 < Are you doing anything differently? How do you reproduce it? Note that from the code, I think this should work properly, because the output brigade is cleaned-up before it's passed to output filters. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
