diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index dae41fba..70ecd6e9 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -2623,8 +2623,19 @@ enum MHD_ResponseFlags | |||
2623 | * Only respond in conservative HTTP 1.0-mode. In particular, | 2623 | * Only respond in conservative HTTP 1.0-mode. In particular, |
2624 | * do not (automatically) sent "Connection" headers and always | 2624 | * do not (automatically) sent "Connection" headers and always |
2625 | * close the connection after generating the response. | 2625 | * close the connection after generating the response. |
2626 | * By default, MHD will respond using the same HTTP version which | ||
2627 | * was set in the request. You can also set the | ||
2628 | * #MHD_RF_HTTP_VERSION_1_0_RESPONSE flag to force version 1.0 | ||
2629 | * in the response. | ||
2626 | */ | 2630 | */ |
2627 | MHD_RF_HTTP_VERSION_1_0_ONLY = 1 | 2631 | MHD_RF_HTTP_VERSION_1_0_ONLY = 1, |
2632 | |||
2633 | /** | ||
2634 | * Only respond in HTTP 1.0-mode. Contrary to the | ||
2635 | * #MHD_RF_HTTP_VERSION_1_0_ONLY flag, the response's HTTP version will | ||
2636 | * always be set to 1.0 and "Connection" headers are still supported. | ||
2637 | */ | ||
2638 | MHD_RF_HTTP_VERSION_1_0_RESPONSE = 2 | ||
2628 | 2639 | ||
2629 | }; | 2640 | }; |
2630 | 2641 | ||