--- parser3/src/include/pa_request.h 2010/09/24 08:18:57 1.207 +++ parser3/src/include/pa_request.h 2011/11/23 11:41:07 1.209 @@ -8,7 +8,7 @@ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char * const IDENT_REQUEST_H="$Date: 2010/09/24 08:18:57 $"; +static const char * const IDENT_REQUEST_H="$Date: 2011/11/23 11:41:07 $"; #include "pa_pool.h" #include "pa_hash.h" @@ -186,8 +186,7 @@ public: #endif Request(SAPI_Info& asapi_info, Request_info& arequest_info, - String::Language adefault_lang, ///< all tainted data default untainting lang - bool status_allowed ///< status class allowed + String::Language adefault_lang ///< all tainted data default untainting lang ); ~Request(); @@ -320,6 +319,9 @@ public: /// returns an absolute @a path to relative @a name const String& absolute(const String& relative_name); + /// returns the mime type of 'user_file_name' + const String& mime_type_of(const String* file_name); + /// returns the mime type of 'user_file_name_cstr' const String& mime_type_of(const char* user_file_name_cstr);