--- parser3/src/main/pa_request.C 2005/12/16 10:15:12 1.280 +++ parser3/src/main/pa_request.C 2006/11/16 18:03:13 1.282 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_REQUEST_C="$Date: 2005/12/16 10:15:12 $"; +static const char * const IDENT_REQUEST_C="$Date: 2006/11/16 18:03:13 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -59,6 +59,7 @@ const char* ORIGINS_CONTENT_TYPE="text/p const String main_method_name(MAIN_METHOD_NAME); const String auto_method_name(AUTO_METHOD_NAME); const String content_disposition_name(CONTENT_DISPOSITION_NAME); +const String content_disposition_inline(CONTENT_DISPOSITION_INLINE); const String content_disposition_value(CONTENT_DISPOSITION_VALUE); const String content_disposition_filename_name(CONTENT_DISPOSITION_FILENAME_NAME); const String body_name(BODY_NAME); @@ -107,7 +108,7 @@ Request::Request(SAPI_Info& asapi_info, wcontext(0), flang(adefault_lang), fconnection(0), - finterrupted(false), + finterrupted(false),fskip(SKIP_NOTHING), // public #ifdef RESOURCES_DEBUG @@ -220,7 +221,7 @@ void Request::configure_admin(VStateless if(Value* vcharsets=conf_class.get_element(charsets_name, conf_class, false)) { if(!vcharsets->is_string()) if(HashStringValue* charsets=vcharsets->get_hash()) - charsets->for_each(load_charset, &this->charsets); + charsets->for_each(load_charset, &this->charsets); else throw Exception("parser.runtime", 0, @@ -862,7 +863,7 @@ void Request::output_result(VFile* body_ // prepare header: $response:fields without :body Add_header_attribute_info info(*this); - response.fields().for_each(add_header_attribute, &info); + response.fields().for_each(add_header_attribute, &info); if(body_file_content_type) if(HashStringValue *hash=body_file_content_type->get_hash())