httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <brian.ak...@turner.com>
Subject bug in ap_set_content_type or somewhere
Date Tue, 23 May 2006 21:17:13 GMT
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

Mime
View raw message