--- parser3/src/main/pa_request.C 2010/05/20 04:36:20 1.318 +++ parser3/src/main/pa_request.C 2010/05/25 03:58:25 1.321 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_REQUEST_C="$Date: 2010/05/20 04:36:20 $"; +static const char * const IDENT_REQUEST_C="$Date: 2010/05/25 03:58:25 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -926,12 +926,6 @@ const String& Request::mime_type_of(cons return *new String("application/octet-stream"); } -const String* Request::get_method_filename(const Method* method){ - if(ArrayOperation* code=method->parser_code) - return get_used_filename(code->get(1).origin.file_no); // todo@ check if 1 is always origin - return 0; -} - const String* Request::get_used_filename(uint file_no){ if(file_no < file_list.count()) return new String(file_list[file_no], String::L_TAINTED);