httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_ext_filter.c
Date Fri, 22 Mar 2002 02:48:00 GMT
stoddard    02/03/21 18:48:00

  Modified:    modules/experimental mod_ext_filter.c
  Log:
  Use the accessor to set r->content_type
  
  Revision  Changes    Path
  1.24      +1 -1      httpd-2.0/modules/experimental/mod_ext_filter.c
  
  Index: mod_ext_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_ext_filter.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- mod_ext_filter.c	14 Mar 2002 22:19:13 -0000	1.23
  +++ mod_ext_filter.c	22 Mar 2002 02:48:00 -0000	1.24
  @@ -503,7 +503,7 @@
           }
           if (ctx->filter->outtype &&
               ctx->filter->outtype != OUTTYPE_UNCHANGED) {
  -            f->r->content_type = ctx->filter->outtype;
  +            ap_set_content_type(f->r, ctx->filter->outtype);
           }
           if (ctx->filter->preserves_content_length != 1) {
               /* nasty, but needed to avoid confusing the browser 
  
  
  

Mime
View raw message