diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-21 17:52:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-21 17:52:44 +0000 |
commit | 6cf74917a7476f738207b07c93a49a3406ffab5d (patch) | |
tree | ef04b763efd9167dcdfe578b649739c6e359c2d1 /src/include/microhttpd.h | |
parent | 46e0cc995476199d62d192a66d4deef40c9de34c (diff) | |
download | libmicrohttpd-6cf74917a7476f738207b07c93a49a3406ffab5d.tar.gz libmicrohttpd-6cf74917a7476f738207b07c93a49a3406ffab5d.zip |
added flag for 'Date:' suppression
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index b3cdaf44..73a9088c 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -106,7 +106,7 @@ extern "C" | |||
106 | /** | 106 | /** |
107 | * Current version of the library. | 107 | * Current version of the library. |
108 | */ | 108 | */ |
109 | #define MHD_VERSION 0x00091100 | 109 | #define MHD_VERSION 0x00091101 |
110 | 110 | ||
111 | /** | 111 | /** |
112 | * MHD-internal return code for "YES". | 112 | * MHD-internal return code for "YES". |
@@ -366,6 +366,15 @@ enum MHD_FLAG | |||
366 | * Use poll instead of select. This allows sockets with fd >= FD_SETSIZE. | 366 | * Use poll instead of select. This allows sockets with fd >= FD_SETSIZE. |
367 | */ | 367 | */ |
368 | MHD_USE_POLL = 64 | 368 | MHD_USE_POLL = 64 |
369 | |||
370 | /** | ||
371 | * Suppress (automatically) adding the 'Date:' header to HTTP responses. | ||
372 | * This option should ONLY be used on systems that do not have a clock | ||
373 | * and that DO provide other mechanisms for cache control. See also | ||
374 | * RFC 2616, section 14.18 (exception 3). | ||
375 | */ | ||
376 | MHD_SUPPRESS_DATE_NO_CLOCK = 128 | ||
377 | |||
369 | }; | 378 | }; |
370 | 379 | ||
371 | 380 | ||