*** utility.c Sat Aug 30 07:49:54 2003 --- utility.c.new Thu Apr 15 00:17:46 2004 *************** *** 499,504 **** --- 499,514 ---- } LAYOUT_EXPORT(int) is_ignored(request_rec *r, layout_conf *cfg, layout_request *info, char *body) { + char *type, *tsep; + + /* Check to Content-Type */ + type = ap_pstrdup(r->pool, info->type); + if((tsep = strchr((const char *)type, ';')) != NULL) + *tsep = '\0'; + if(!table_find(cfg->types, type)) { + return 1; + } + if(cfg->tag_ignore) { if(table_search(r, cfg->tag_ignore, body)){ info->header = OFF;