If I have this configured:
AddOutputFilterByType DEFLATE text/html
but get something like <host>/server-status?auto, it still gets gzipped.
It looks like because in mod_status.c we do this:
ap_set_content_type(r, "text/html");
and a little later:
case STAT_OPT_AUTO:
ap_set_content_type(r, "text/plain");
and in ap_set_content_type we call ap_add_output_filters_by_type(r);
so, even though we change the content type, we still have added DEFLATE
for this.
--
Brian Akins
Lead Systems Engineer
CNN Internet Technologies