--- parser3/src/main/pa_request.C 2002/12/19 10:17:42 1.244 +++ parser3/src/main/pa_request.C 2003/04/11 15:00:05 1.246 @@ -1,11 +1,11 @@ /** @file Parser: request class main part. @see compile.C and execute.C. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_REQUEST_C="$Date: 2002/12/19 10:17:42 $"; +static const char* IDENT_REQUEST_C="$Date: 2003/04/11 15:00:05 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -629,7 +629,8 @@ const String& Request::mime_type_of(cons if(mime_types) if(const char *cext=strrchr(user_file_name_cstr, '.')) { String sext(pool(), ++cext); - if(mime_types->locate(0, sext.change_case(pool(), String::CC_LOWER))) + Table::Action_options options; + if(mime_types->locate(0, sext.change_case(pool(), String::CC_LOWER), options)) if(const String *result=mime_types->item(1)) return *result; else