gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: MHD_del_response_header(): docume


From: gnunet
Subject: [libmicrohttpd] branch master updated: MHD_del_response_header(): documented new behaviors
Date: Sat, 16 Oct 2021 11:45:10 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new e2a49611 MHD_del_response_header(): documented new behaviors
e2a49611 is described below

commit e2a49611e067feff63f51b2f4594f0bea01367f4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 16 12:44:46 2021 +0300

    MHD_del_response_header(): documented new behaviors
---
 src/include/microhttpd.h  | 5 +++++
 src/microhttpd/response.c | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 05ee42a0..ded6577f 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3752,6 +3752,11 @@ MHD_add_response_footer (struct MHD_Response *response,
 /**
  * Delete a header (or footer) line from the response.
  *
+ * For "Connection" headers this function remove all tokens from existing
+ * value. Successful result means that at least one token has been removed.
+ * If all tokens are removed from "Connection" header, the empty "Connection"
+ * header removed.
+ *
  * @param response response to remove a header from
  * @param header the header to delete
  * @param content value to delete
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 3167992f..7df2a0c6 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -580,6 +580,11 @@ MHD_add_response_footer (struct MHD_Response *response,
 /**
  * Delete a header (or footer) line from the response.
  *
+ * For "Connection" headers this function remove all tokens from existing
+ * value. Successful result means that at least one token has been removed.
+ * If all tokens are removed from "Connection" header, the empty "Connection"
+ * header removed.
+ *
  * @param response response to remove a header from
  * @param header the header to delete
  * @param content value to delete

-- 
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]