diff options
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 6e266751..fe52ad7f 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -343,7 +343,7 @@ _MHD_DEPR_MACRO ( | |||
343 | * @defgroup httpcode HTTP response codes. | 343 | * @defgroup httpcode HTTP response codes. |
344 | * These are the status codes defined for HTTP responses. | 344 | * These are the status codes defined for HTTP responses. |
345 | * See: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml | 345 | * See: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml |
346 | * Registry export date: 2019-06-09 | 346 | * Registry export date: 2021-06-08 |
347 | * @{ | 347 | * @{ |
348 | */ | 348 | */ |
349 | 349 | ||
@@ -545,6 +545,15 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
545 | 545 | ||
546 | 546 | ||
547 | /** | 547 | /** |
548 | * Returns the length of the string reason phrase for a response code. | ||
549 | * | ||
550 | * If message string is not available for a status code, | ||
551 | * 0 is returned. | ||
552 | */ | ||
553 | _MHD_EXTERN size_t | ||
554 | MHD_get_reason_phrase_len_for (unsigned int code); | ||
555 | |||
556 | /** | ||
548 | * Flag to be or-ed with MHD_HTTP status code for | 557 | * Flag to be or-ed with MHD_HTTP status code for |
549 | * SHOUTcast. This will cause the response to begin | 558 | * SHOUTcast. This will cause the response to begin |
550 | * with the SHOUTcast "ICY" line instead of "HTTP". | 559 | * with the SHOUTcast "ICY" line instead of "HTTP". |