[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 03/03: MHD_add_response_header(): improved doxy
From: |
gnunet |
Subject: |
[libmicrohttpd] 03/03: MHD_add_response_header(): improved doxy |
Date: |
Sun, 20 Jun 2021 15:33:23 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 0560bb099cd55690f48ccdd95a99810f745c9657
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Jun 20 16:30:05 2021 +0300
MHD_add_response_header(): improved doxy
---
src/include/microhttpd.h | 4 +++-
src/microhttpd/response.c | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 4f09bee5..b9ea600d 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3614,7 +3614,7 @@ MHD_destroy_response (struct MHD_Response *response);
*
* When reply is generated with queued response, some headers are generated
* automatically. Automatically generated headers are only sent to the client,
- * but not added back to the response.
+ * but not added back to the response object.
*
* The list of automatic headers:
* + "Date" header is added automatically unless already set by
@@ -3633,6 +3633,8 @@ MHD_destroy_response (struct MHD_Response *response);
* to enforce closure of the connection after sending this response.
* "Keep-Alive" cannot be enforced and will be removed automatically.
*
+ * Headers are used in order as they were added.
+ *
* @param response the response to add a header to
* @param header the header name to add
* @param content the header value to add
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index e1f2aebf..c91125eb 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -198,7 +198,7 @@ add_response_entry (struct MHD_Response *response,
*
* When reply is generated with queued response, some headers are generated
* automatically. Automatically generated headers are only sent to the client,
- * but not added back to the response.
+ * but not added back to the response object.
*
* The list of automatic headers:
* + "Date" header is added automatically unless already set by
@@ -217,6 +217,8 @@ add_response_entry (struct MHD_Response *response,
* to enforce closure of the connection after sending this response.
* "Keep-Alive" cannot be enforced and will be removed automatically.
*
+ * Headers are used in order as they were added.
+ *
* @param response the response to add a header to
* @param header the header name to add
* @param content the header value to add
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.