diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 5ddd60da..8a6fea2f 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -3532,6 +3532,8 @@ enum MHD_ResponseFlags | |||
3532 | * (zero-size body). | 3532 | * (zero-size body). |
3533 | * Responses with this flag enabled cannot be used in situations where | 3533 | * Responses with this flag enabled cannot be used in situations where |
3534 | * reply body must be sent to the client. | 3534 | * reply body must be sent to the client. |
3535 | * This flag is primarily intended to be used when automatic "Content-Length" | ||
3536 | * header is undesirable in response to HEAD requests. | ||
3535 | * @note Available since #MHD_VERSION 0x00097502 | 3537 | * @note Available since #MHD_VERSION 0x00097502 |
3536 | */ | 3538 | */ |
3537 | MHD_RF_HEAD_ONLY_RESPONSE = 1 << 4 | 3539 | MHD_RF_HEAD_ONLY_RESPONSE = 1 << 4 |
@@ -4655,16 +4657,20 @@ struct MHD_BasicAuthInfo | |||
4655 | * The username, cannot be NULL | 4657 | * The username, cannot be NULL |
4656 | */ | 4658 | */ |
4657 | char *username; | 4659 | char *username; |
4660 | |||
4658 | /** | 4661 | /** |
4659 | * The length of the @a username, not including zero-termination | 4662 | * The length of the @a username, not including zero-termination |
4660 | */ | 4663 | */ |
4661 | size_t username_len; | 4664 | size_t username_len; |
4665 | |||
4662 | /** | 4666 | /** |
4663 | * The password, may be NULL if password is not encoded by the client | 4667 | * The password, may be NULL if password is not encoded by the client |
4664 | */ | 4668 | */ |
4665 | char *password; | 4669 | char *password; |
4670 | |||
4666 | /** | 4671 | /** |
4667 | * The length of the @a password, not including zero-termination | 4672 | * The length of the @a password, not including zero-termination; |
4673 | * when the @a password is NULL, the length is always zero. | ||
4668 | */ | 4674 | */ |
4669 | size_t password_len; | 4675 | size_t password_len; |
4670 | }; | 4676 | }; |