From b7a2ed04e89cd84acd95ae656c216babe0aabf25 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 8 Apr 2024 22:56:38 +0200 Subject: [PATCH] Fixed data in request options DB --- scripts/r_options.rec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/r_options.rec b/scripts/r_options.rec index 22e52e2b..69047052 100644 --- a/scripts/r_options.rec +++ b/scripts/r_options.rec @@ -29,7 +29,7 @@ Comment: Make the response object re-usable. Name: HEAD_ONLY_RESPONSE Value: 40 Type: enum MHD_Bool -Comment: Enable special processing of the response as body-less (with undefined body size). No automatic "Content-Length" or "Transfer-Encoding: chunked" headers are added when the response is used with #MHD_HTTP_NOT_MODIFIED code or to respond to HEAD request. +Comment: Enable special processing of the response as body-less (with undefined body size). No automatic "Content-Length" or "Transfer-Encoding: chunked" headers are added when the response is used with #MHD_HTTP_STATUS_NOT_MODIFIED code or to respond to HEAD request. + The flag also allow to set arbitrary "Content-Length" by #MHD_response_add_header() function. + This flag value can be used only with responses created without body (zero-size body). + Responses with this flag enabled cannot be used in situations where reply body must be sent to the client. @@ -50,7 +50,7 @@ Comment: Force close connection after sending the response, prevents keep-alive # Compatibility settings -Name: HTTP_1_0_COMPATIBLE_STRIC +Name: HTTP_1_0_COMPATIBLE_STRICT Value: 80 Type: enum MHD_Bool Comment: Only respond in conservative (dumb) HTTP/1.0-compatible mode.