summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/http_core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/http_core.h b/include/http_core.h
index b3364756f3..efdcc1c51e 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -245,6 +245,15 @@ typedef struct {
*/
unsigned d_is_fnmatch : 1;
+ /* should we force a charset on any outgoing parameterless content-type?
+ * if so, which charset?
+ */
+#define ADD_DEFAULT_CHARSET_OFF (0)
+#define ADD_DEFAULT_CHARSET_ON (1)
+#define ADD_DEFAULT_CHARSET_UNSET (2)
+ unsigned add_default_charset : 2;
+ char *add_default_charset_name;
+
unsigned long limit_req_body; /* limit on bytes in request msg body */
/* logging options */