diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 11 |
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 | /** |