--- parser3/src/include/pa_common.h 2009/09/25 12:57:35 1.139 +++ parser3/src/include/pa_common.h 2010/04/19 19:35:55 1.141 @@ -8,7 +8,7 @@ #ifndef PA_COMMON_H #define PA_COMMON_H -static const char * const IDENT_COMMON_H="$Date: 2009/09/25 12:57:35 $"; +static const char * const IDENT_COMMON_H="$Date: 2010/04/19 19:35:55 $"; #include "pa_string.h" #include "pa_hash.h" @@ -17,8 +17,12 @@ class Request; // defines #define HTTP_USER_AGENT "user-agent" + #define HTTP_STATUS "status" +#define HTTP_STATUS_CAPITALIZED "Status" + #define HTTP_CONTENT_LENGTH "content-length" +#define HTTP_CONTENT_LENGTH_CAPITALIZED "Content-Length" #define HTTP_CONTENT_TYPE "content-type" #define HTTP_CONTENT_TYPE_UPPER "CONTENT-TYPE" @@ -270,9 +274,7 @@ int getMonthDays(int year, int month); int remove_crlf(char *start, char *end); -#ifdef PA_SAFE_MODE void check_safe_mode(struct stat finfo, const String& file_spec, const char* fname); -#endif void pa_base64_decode(const char *in, size_t in_size, char*& result, size_t& result_size); char* pa_base64_encode(const char *in, size_t in_size);