--- parser3/src/include/pa_common.h 2009/09/10 09:39:48 1.138 +++ parser3/src/include/pa_common.h 2009/10/06 11:39:02 1.140 @@ -8,7 +8,7 @@ #ifndef PA_COMMON_H #define PA_COMMON_H -static const char * const IDENT_COMMON_H="$Date: 2009/09/10 09:39:48 $"; +static const char * const IDENT_COMMON_H="$Date: 2009/10/06 11:39:02 $"; #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" @@ -28,7 +32,8 @@ class Request; #define HTTP_CONTENT_TYPE_MULTIPART_RELATED "multipart/related" #define HTTP_CONTENT_TYPE_MULTIPART_MIXED "multipart/mixed" -#define CONTENT_TRANSFER_ENCODING_NAME "content-transfer-tncoding" +#define CONTENT_TRANSFER_ENCODING_NAME "content-transfer-encoding" +#define CONTENT_TRANSFER_ENCODING_CAPITALIZED "Content-Transfer-Encoding" #define CONTENT_DISPOSITION "content-disposition" #define CONTENT_DISPOSITION_CAPITALIZED "Content-Disposition"