On Fri, Sep 14, 2001 at 12:40:14PM -0700, Ian Holsman wrote:
> here is a patch which does just that.
> 
> Index: mod_include.c
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/modules/filters/mod_include.c,v
> retrieving revision 1.146
> diff -u -u -r1.146 mod_include.c
> --- mod_include.c       2001/09/10 03:58:26     1.146
> +++ mod_include.c       2001/09/14 19:34:17
> @@ -3081,6 +3081,13 @@
>       * the content-length should just be unset.
>       */
>      apr_table_unset(f->r->headers_out, "Content-Length");
> +    /*
> +     * Always unset the ETag/Last-Modified fields.
> +     * We don't know if we are going to be modified after we have
> +     * sent the headers out.
> +     */
> +    apr_table_unset(f->r->headers_out, "ETag");
> +    apr_table_unset(f->r->headers_out, "Last-Modified");
>  
>      rv = send_parsed_content(&b, r, f);

Committed.  Brian and Aaron get nods on the Reviewed by in the commit
log.  I did touch up the comment a bit.

No other committer said anything and this seems reasonable enough to 
me.  If all three of you are wrong, well it's my fault now.  =)  
-- justin

Reply via email to