--- parser3/src/include/pa_common.h 2019/11/12 21:13:31 1.176 +++ parser3/src/include/pa_common.h 2019/11/22 22:21:44 1.178 @@ -8,11 +8,10 @@ #ifndef PA_COMMON_H #define PA_COMMON_H -#define IDENT_PA_COMMON_H "$Id: pa_common.h,v 1.176 2019/11/12 21:13:31 moko Exp $" +#define IDENT_PA_COMMON_H "$Id: pa_common.h,v 1.178 2019/11/22 22:21:44 moko Exp $" #include "pa_string.h" #include "pa_hash.h" -#include "pa_base64.h" class Request; @@ -40,8 +39,6 @@ class Request; #define HTTP_CONTENT_TYPE_MULTIPART_RELATED "multipart/related" #define HTTP_CONTENT_TYPE_MULTIPART_MIXED "multipart/mixed" -#define BASE64_STRICT_OPTION_NAME "strict" - const String content_disposition_filename_name(CONTENT_DISPOSITION_FILENAME_NAME); #define HASH_ORDER @@ -130,11 +127,7 @@ bool file_read_action_under_lock(const S WARNING: charset is used for http header case conversion, it's not a charset of input file! */ -char *file_read_text(Request_charsets& charsets, - const String& file_spec, - bool fail_on_read_problem=true, - HashStringValue* options=0, - bool transcode_result=true); +char *file_read_text(Request_charsets& charsets, const String& file_spec, bool fail_on_read_problem=true); char *file_load_text(Request& r, const String& file_spec,