--- parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/03/21 14:06:49 1.2 +++ parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/03/21 14:24:54 1.3 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: mod_parser3.C,v 1.2 2001/03/21 14:06:49 paf Exp $ + $Id: mod_parser3.C,v 1.3 2001/03/21 14:24:54 paf Exp $ */ #include "httpd.h" @@ -465,7 +465,7 @@ int read_post(Pool& pool, char *buf, int void add_header_attribute(Pool& pool, const char *key, const char *value) { request_rec *r=static_cast(pool.info()); - if(strcmp(key, "content-type")==0) { + if(strcasecmp(key, "content-type")==0) { /* r->content_type, *not* r->headers_out("Content-type"). If you don't * set it, it will be filled in with the server's default type (typically * "text/plain"). You *must* also ensure that r->content_type is lower @@ -506,9 +506,6 @@ static int parser3_handler(request_rec * ap_soft_timeout("send example call trace", r); PTRY { // global try const char *filespec_to_process=r->filename; - PTHROW(0, 0, - 0, - "no file to process"); // Request info Request::Info request_info;