--- parser3/src/include/pa_request.h 2001/03/20 17:52:37 1.64.2.2 +++ parser3/src/include/pa_request.h 2001/03/21 14:06:43 1.65 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_request.h,v 1.64.2.2 2001/03/20 17:52:37 paf Exp $ + $Id: pa_request.h,v 1.65 2001/03/21 14:06:43 paf Exp $ */ #ifndef PA_REQUEST_H @@ -49,7 +49,8 @@ class Request : public Pooled { public: /// some information from web server - struct Info { + class Info { + public: const char *document_root; const char *path_translated; const char *method; @@ -69,10 +70,15 @@ public: /// global classes Hash& classes() { return fclasses; } - /// core request processing - void core(Exception& system_exception, + /** + core request processing + + BEWARE: may throw exception to you: catch it! + */ + void core( const char *sys_auto_path1, - const char *sys_auto_path2); + const char *sys_auto_path2, + bool header_only); /// executes ops void execute(const Array& ops); @@ -194,7 +200,7 @@ private: // lang manipulation private: - void output_result(const String& body_string); + void output_result(const String& body_string, bool header_only); }; /// Auto-object used for temporary changing Request::flang.