Received: (qmail 3338 invoked by uid 501); 29 Apr 2000 09:45:40 -0000 Message-Id: <20000429094540.3337.qmail@locus.apache.org> Date: 29 Apr 2000 09:45:40 -0000 From: Jos van der Meer Reply-To: jmee@aidministrator.nl To: submit@bugz.apache.org Subject: Expires should check existing headers of a response X-Send-Pr-Version: 3.110 >Number: 6037 >Category: mod_expires >Synopsis: Expires should check existing headers of a response >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Apr 29 02:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: jmee@aidministrator.nl >Release: 1.3.11 >Organization: apache >Environment: SunOS suzuka 5.7 Generic sun4u sparc SUNW,Ultra-5_10 >Description: We use (httpd.conf) ExpiresActive On ExpiresDefault A2592000 However, this means that Expiration-fields in the headers are added, even when (conflicting) Expiration-fields are already part of the response. Our servlet adds some. This is an example of the result: HTTP/1.1 200 OK Date: Sat, 29 Apr 2000 09:35:11 GMT Server: Apache/1.3.11 (Unix) ApacheJServ/1.0 Cache-Control: no-cache Expires: 0 Pragma: no-cache Cache-Control: max-age=2592000 Expires: Mon, 29 May 2000 09:35:11 GMT Content-Length: 323 Last-Modified: Sat, 29 Apr 2000 09:35:15 GMT Connection: close Content-Type: text/html >How-To-Repeat: >Fix: Check existing header-fields in responses. >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]