You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Paul Rubin <ph...@nightsong.com> on 2000/03/14 02:20:13 UTC

general/5873: mod_asis doc says module should add last-modified-date header, but it shouldn't!!!

>Number:         5873
>Category:       general
>Synopsis:       mod_asis doc says module should add last-modified-date header, but it shouldn't!!!
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          doc-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar 13 17:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     phr-apache@nightsong.com
>Release:        1.3.9
>Organization:
apache
>Environment:
Solaris 2.6, gcc, etc.
>Description:
The doc at http://www.apache.org/docs/mod/mod_asis.html says:

>How-To-Repeat:
See http://www.apache.org/docs/mod/mod_asis.html
>Fix:
Make the design decision that "as is" means what it says,
and update the docs to reflect the decision.  If necessary, add
mod_asis module configuration commands to turn server insertion of
individual headers such as Last-Modified-Date on and off.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> 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!     ]
 
 
 >Notes: the server always adds a Date: and Server: header to the data returned >to the client, so these should not be included in the file. The server does >not add a Last-Modified header; it probably should.
 
 In fact, having the server add a Last-Modified header is a terrible idea.
 I'm not even convinced that it should add Date: or Server:, since the idea
 of "mod_asis" is to send the specified headers AS IS, that is, do not mess
 with them and don't add extra ones.  Adding Date: and Server: don't seem so
 harmful, but adding Last-Modified can cause problems since it's necessary to
 send a fake Last-Modified date to prevent incorrect document caching in MSIE.
 (Using the Cache-Control header is *not* enough--you have to use almost every
 header imaginable to get MSIE to not cache the document).