You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Akins <br...@turner.com> on 2006/05/23 23:17:13 UTC
bug in ap_set_content_type or somewhere
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