httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21736] New: - not possible to modify response header when default_handler result a HTTP_NOT_MODIFIED
Date Sun, 20 Jul 2003 04:39:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21736>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21736

not possible to modify response header when default_handler result a HTTP_NOT_MODIFIED

           Summary: not possible to modify response header when
                    default_handler result a HTTP_NOT_MODIFIED
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: mod_headers
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Xuefer@21cn.com


it's useful to do ``Header append "Cache-Control" "post-check=60, pre-
check=120"'' for images, and even expires headers, it's terrible important

for the first time browser request a image, it's not cached, 
apache run output filters correctly, which enable mod_headers to add headers
and server response 202 "OK".

but after "post-check", browser send IF_MODIFIED_SINCE header, and 
default_handler response "Not modified" which won't run output filters, and 
mod_headers unable to add headers, and now, browser forget the value of "post-
check"


in server/core.c invoke ap_meets_condition, which in http_protocol.c
when ap_meets_condition return HTTP_NOT_MODIFIED, output filters seems not be 
ran

thus, the output filter of mod_headers won't work, and no response headers is 
process by mod_headers

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message