libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 8e7dccc898eefbc70c21b5b1b52d0c81170a731e
parent dde0539917cbcd6b0b078bce72d697ee03ca5a07
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Fri,  3 Jul 2026 19:34:46 +0200

Moved Response Header StatusCodes to the same group

Diffstat:
Msrc/include/microhttpd2.h | 30+++++++++++++++---------------
Msrc/include/microhttpd2_preamble.h.in | 30+++++++++++++++---------------
2 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h @@ -1633,21 +1633,6 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_TLS_BACKEND_DAEMON_INCOMPATIBLE_SETTINGS = 60034 , /** - * The response header name has forbidden characters or token - */ - MHD_SC_RESP_HEADER_NAME_INVALID = 60050 - , - /** - * The response header value has forbidden characters or token - */ - MHD_SC_RESP_HEADER_VALUE_INVALID = 60051 - , - /** - * An attempt to add header conflicting with other response header - */ - MHD_SC_RESP_HEADERS_CONFLICT = 60052 - , - /** * The pointer to the response object is NULL */ MHD_SC_RESP_POINTER_NULL = 60060 @@ -1795,6 +1780,21 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_RESP_CANNOT_CLEAR_REUSE = 60300 , /** + * The response header name has forbidden characters or token + */ + MHD_SC_RESP_HEADER_NAME_INVALID = 60320 + , + /** + * The response header value has forbidden characters or token + */ + MHD_SC_RESP_HEADER_VALUE_INVALID = 60321 + , + /** + * An attempt to add header conflicting with other response header + */ + MHD_SC_RESP_HEADERS_CONFLICT = 60330 + , + /** * The application tried to add second DATE header. */ MHD_SC_RESP_HEADER_DATE_DUPLICATE = 60340 diff --git a/src/include/microhttpd2_preamble.h.in b/src/include/microhttpd2_preamble.h.in @@ -1633,21 +1633,6 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_TLS_BACKEND_DAEMON_INCOMPATIBLE_SETTINGS = 60034 , /** - * The response header name has forbidden characters or token - */ - MHD_SC_RESP_HEADER_NAME_INVALID = 60050 - , - /** - * The response header value has forbidden characters or token - */ - MHD_SC_RESP_HEADER_VALUE_INVALID = 60051 - , - /** - * An attempt to add header conflicting with other response header - */ - MHD_SC_RESP_HEADERS_CONFLICT = 60052 - , - /** * The pointer to the response object is NULL */ MHD_SC_RESP_POINTER_NULL = 60060 @@ -1795,6 +1780,21 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode MHD_SC_RESP_CANNOT_CLEAR_REUSE = 60300 , /** + * The response header name has forbidden characters or token + */ + MHD_SC_RESP_HEADER_NAME_INVALID = 60320 + , + /** + * The response header value has forbidden characters or token + */ + MHD_SC_RESP_HEADER_VALUE_INVALID = 60321 + , + /** + * An attempt to add header conflicting with other response header + */ + MHD_SC_RESP_HEADERS_CONFLICT = 60330 + , + /** * The application tried to add second DATE header. */ MHD_SC_RESP_HEADER_DATE_DUPLICATE = 60340