--- parser3/src/include/pa_request.h 2003/01/28 15:16:49 1.160.2.2 +++ parser3/src/include/pa_request.h 2003/01/29 09:16:15 1.160.2.3 @@ -8,7 +8,7 @@ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char* IDENT_REQUEST_H="$Date: 2003/01/28 15:16:49 $"; +static const char* IDENT_REQUEST_H="$Date: 2003/01/29 09:16:15 $"; #include "pa_pool.h" #include "pa_hash.h" @@ -55,6 +55,20 @@ class Temp_lang; class Methoded; class VMethodFrame; +/// some information from web server +class Info { +public: + const char *document_root; + const char *path_translated; + const char *method; + const char *query_string; + const char *uri; + const char *content_type; + size_t content_length; + const char *cookie; + bool mail_received; +}; + /// Main workhorse. class Request : public Pooled { friend class Temp_lang; @@ -71,22 +85,8 @@ public: double sql_request_time; #endif - /// some information from web server - class Info { - public: - const char *document_root; - const char *path_translated; - const char *method; - const char *query_string; - const char *uri; - const char *content_type; - size_t content_length; - const char *cookie; - bool mail_received; - }; - Request( - Info& ainfo, + Request_info& ainfo, uchar adefault_lang, ///< all tainted data default untainting lang bool status_allowed ///< status class allowed );