Changes with Apache 2.0.49
+ *) mod_include no longer allows an ETag header on 304 responses.
+ PR 19355. [Geoffrey Young <geoff apache.org>, André Malo]
+
*) EBCDIC: Convert header fields to ASCII before sending (broken
since 2.0.44). [Martin Kraemer]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/11/21 23:25:37 $]
+Last modified at [$Date: 2003/11/21 23:38:22 $]
Release:
include/ap_mmn.h: r1.60
+1: nd
- * mod_include: Don't allow ETag to be sent in 304. PR 19355.
- modules/filters/mod_include.c: r1.290
- +1: nd, trawick, thommay
-
* mod_autoindex: Restore the ability to add a description for
directories that don't contain an index file.
PR 7990
|| !(f->r->finfo.protection & APR_GEXECUTE)) {
f->r->no_local_copy = 1;
}
-
+
+ /* Don't allow ETag headers to be generated - see RFC2616 - 13.3.4.
+ * We don't know if we are going to be including a file or executing
+ * a program - in either case a strong ETag header will likely be invalid.
+ */
+ apr_table_setn(f->r->notes, "no-etag", "");
+
return OK;
}
*/
apr_table_unset(f->r->headers_out, "Content-Length");
- /* Always unset the ETag/Last-Modified fields - see RFC2616 - 13.3.4.
+ /* Always unset the Last-Modified field - see RFC2616 - 13.3.4.
* We don't know if we are going to be including a file or executing
* a program which may change the Last-Modified header or make the
* content completely dynamic. Therefore, we can't support these
* headers.
* Exception: XBitHack full means we *should* set the Last-Modified field.
*/
- apr_table_unset(f->r->headers_out, "ETag");
/* Assure the platform supports Group protections */
if ((*conf->xbithack == xbithack_full)