aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-08-26 09:13:05 +0000
committerChristian Grothoff <christian@grothoff.org>2007-08-26 09:13:05 +0000
commit1d647758e4977c7aebddf893171ceb1bba5bef81 (patch)
tree59f1893e34d128d3cda09442b80894a02ccbe9b9 /src/include/microhttpd.h
parentbf515f7217fde589c78a2319b91de0d2c90b834d (diff)
downloadlibmicrohttpd-1d647758e4977c7aebddf893171ceb1bba5bef81.tar.gz
libmicrohttpd-1d647758e4977c7aebddf893171ceb1bba5bef81.zip
fixing mantis 1264
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 975611bf..d09c66a9 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -274,6 +274,17 @@ enum MHD_FLAG
274 */ 274 */
275 MHD_USE_IPv6 = 16, 275 MHD_USE_IPv6 = 16,
276 276
277 /**
278 * Be pedantic about the protocol (as opposed to as tolerant as
279 * possible). Specifically, at the moment, this flag causes MHD to
280 * reject http 1.1 connections without a "Host" header. This is
281 * required by the standard, but of course in violation of the "be
282 * as liberal as possible in what you accept" norm. It is
283 * recommended to turn this ON if you are testing clients against
284 * MHD, and OFF in production.
285 */
286 MHD_USE_PEDANTIC_CHECKS = 32,
287
277}; 288};
278 289
279/** 290/**