--- parser3/src/targets/isapi/parser3isapi.C 2003/01/31 12:34:41 1.82.2.1 +++ parser3/src/targets/isapi/parser3isapi.C 2003/01/31 16:05:59 1.82.2.2 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3ISAPI_C="$Date: 2003/01/31 12:34:41 $"; +static const char* IDENT_PARSER3ISAPI_C="$Date: 2003/01/31 16:05:59 $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -196,18 +196,20 @@ size_t SAPI::read_post(Pool& pool, char return total_read; } -void SAPI::add_header_attribute(Pool& pool, const char* key, const char* value) { +void SAPI::add_header_attribute(Pool& pool, + const char* dont_store_key, const char* dont_store_value) { SAPI_func_context& ctx=*static_cast(pool.get_context()); if(strcasecmp(key, "location")==0) ctx.http_response_code=302; if(strcasecmp(key, "status")==0) - ctx.http_response_code=atoi(value); + ctx.http_response_code=atoi(dont_store_value); else { - ctx.header->APPEND_CONST(key); +todo: copy dont_store_ to nonvilotile + ctx.header->APPEND_CONST(dont_store_key); ctx.header->APPEND_CONST(": "); - ctx.header->APPEND_CONST(value); + ctx.header->APPEND_CONST(dont_store_value); ctx.header->APPEND_CONST("\r\n"); } }