DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36648>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36648 Summary: 304 NOT MODIFIED on CGI scripts Product: Apache httpd-2.0 Version: 2.0.54 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] OK, You'll probably tell me exactly why I screwed up, but I'm going to report this anyway. If you have a CGI script using the GET method, and the browser sends an "If-Modified-Since", apache will return a "304 NOT MODIFIED", without regard to whether the resource is changing - it only looks at the modification time of the file itself. While this is allowed by the HTTP spec, I believe this to be incorrect behavior, especially as this happens before the CGI is executed. I added a patch to look for r->handler == "cgi_script" in modules/http/http_protocol.c. It seems to work fine for our purposes but is probably not a general enough solution to make it into the apache tree. Glad to listen to other options - perhaps it should be tied to XBitHack? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
