gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 02/05: microhttpd.h: cosmetics and doxy minor improvemen


From: gnunet
Subject: [libmicrohttpd] 02/05: microhttpd.h: cosmetics and doxy minor improvements
Date: Mon, 13 Jun 2022 11:28:57 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit bb0addb5872b2fbfbcb8722305afb7c64f8cc501
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Jun 13 12:12:55 2022 +0300

    microhttpd.h: cosmetics and doxy minor improvements
---
 src/include/microhttpd.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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
    * (zero-size body).
    * Responses with this flag enabled cannot be used in situations where
    * reply body must be sent to the client.
+   * This flag is primarily intended to be used when automatic "Content-Length"
+   * header is undesirable in response to HEAD requests.
    * @note Available since #MHD_VERSION 0x00097502
    */
   MHD_RF_HEAD_ONLY_RESPONSE = 1 << 4
@@ -4655,16 +4657,20 @@ struct MHD_BasicAuthInfo
    * The username, cannot be NULL
    */
   char *username;
+
   /**
    * The length of the @a username, not including zero-termination
    */
   size_t username_len;
+
   /**
    * The password, may be NULL if password is not encoded by the client
    */
   char *password;
+
   /**
-   * The length of the @a password, not including zero-termination
+   * The length of the @a password, not including zero-termination;
+   * when the @a password is NULL, the length is always zero.
    */
   size_t password_len;
 };

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]