--- parser3/src/classes/response.C 2012/03/16 09:24:08 1.28 +++ parser3/src/classes/response.C 2026/04/25 13:38:46 1.36 @@ -1,8 +1,8 @@ /** @file Parser: @b response parser class. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #include "classes.h" @@ -11,7 +11,7 @@ #include "pa_request.h" #include "pa_vresponse.h" -volatile const char * IDENT_RESPONSE_C="$Id: response.C,v 1.28 2012/03/16 09:24:08 moko Exp $"; +volatile const char * IDENT_RESPONSE_C="$Id: response.C,v 1.36 2026/04/25 13:38:46 moko Exp $"; // class @@ -24,7 +24,7 @@ public: // Methoded // global variable -DECLARE_CLASS_VAR(response, new MResponse, 0); +DECLARE_CLASS_VAR(response, new MResponse); // methods @@ -36,5 +36,5 @@ static void _clear(Request& r, MethodPar MResponse::MResponse(): Methoded("response") { // ^clear[] - add_native_method("clear", Method::CT_DYNAMIC, _clear, 0, 0); + add_native_method("clear", Method::CT_STATIC, _clear, 0, 0); }