|
|
| version 1.1.2.1, 2003/01/29 11:22:25 | version 1.2, 2003/07/24 11:31:21 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: request info class decl. | Parser: request info class decl. |
| Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| #ifndef PA_REQUEST_INFO_H | #ifndef PA_REQUEST_INFO_H |
| #define PA_REQUEST_INFO_H | #define PA_REQUEST_INFO_H |
| static const char* IDENT_REQUEST_H="$Date$"; | static const char* IDENT_REQUEST_INFO_H="$Date$"; |
| /// some information from web server | /// some information from web server |
| class Request_info { | class Request_info { |
| public: | public: |
| //@{ these filled by Request class user | //@{ these filled by Request class user |
| const char *document_root; | const char* document_root; |
| const char *path_translated; | const char* path_translated; |
| const char *method; | const char* method; |
| const char *query_string; | const char* query_string; |
| const char *uri; | const char* uri; |
| const char *content_type; | const char* content_type; |
| size_t content_length; | size_t content_length; |
| const char *cookie; | const char* cookie; |
| bool mail_received; | bool mail_received; |
| //@} | //@} |
| //@{ these are filed by Request class itself: user's post data | //@{ these are filed by Request class itself: user's post data |
| const char *post_data; size_t post_size; | const char* post_data; size_t post_size; |
| //@} | //@} |
| }; | }; |
| struct Request_charsets { | |
| Pool *pool; | |
| Charset *source; | |
| Charset *client; | |
| Charset *mail; | |
| }; | |
| #endif | #endif |