nmaier/mod_xsendfile — Issue #11: Force no ETag output
Author: guettli
Created: 2012-02-03 14:58:54+00:00
State: open

I try to set no etag header, since I set a far future expire header (10 years). I looked at the source,
and I gues there is no way to set no etag header, except I set an empty etag header.

here is the current c code:
```c
if (
conf->ignoreETag == XSENDFILE_ENABLED
|| (
!apr_table_get(r->headers_out, "etag")
&& !apr_table_get(r->err_headers_out, "etag")
)
) {
apr_table_unset(r->err_headers_out, "etag");
ap_set_etag(r);
}
```

Some URLs need ETags, and some don't. That's why I can't modify the apache config. A global option "SendfileDontSetEtag" would be good.