/[mod_czs]/mod_czs.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /mod_czs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by dpavlin, Sun Aug 13 20:11:51 2000 UTC revision 1.14 by dpavlin, Sun Aug 13 20:14:52 2000 UTC
# Line 66  static int czs_handler(request_rec *r) { Line 66  static int czs_handler(request_rec *r) {
66          if (r->args != 0) {          if (r->args != 0) {
67                  ap_table_setn(r->headers_out, "X-czs_args", r->args);                  ap_table_setn(r->headers_out, "X-czs_args", r->args);
68          }          }
69          ap_table_setn(r->headers_out, "X-do_czs", do_czs);          if (do_czs) ap_table_setn(r->headers_out, "X-do_czs", do_czs);
70          ap_table_setn(r->headers_out, "X-do_mac", do_mac);          if (do_mac) ap_table_setn(r->headers_out, "X-do_mac", do_mac);
71          ap_table_setn(r->headers_out, "X-content-type", r->content_type);          ap_table_setn(r->headers_out, "X-content-type", r->content_type);
72  #endif  #endif
73    
# Line 230  static int add_charset_header(request_re Line 230  static int add_charset_header(request_re
230  #ifdef DEBUG  #ifdef DEBUG
231          ap_table_setn(r->headers_out, "X-Content-Type", ct);          ap_table_setn(r->headers_out, "X-Content-Type", ct);
232          ap_table_setn(r->headers_out, "X-new-Content-Type", r->content_type);          ap_table_setn(r->headers_out, "X-new-Content-Type", r->content_type);
233          ap_table_setn(r->headers_out, "X-User-Agent", ua);          if (ua) ap_table_setn(r->headers_out, "X-User-Agent", ua);
234  #endif  #endif
235          return DECLINED;          return DECLINED;
236  }  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.26