MHD_queue_response(): improved doxy

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2022-03-07 21:29:40 +03:00
1 parent e9292a95ec
commit f46f4b75dd
2 files changed
+10

No files matched your search

+5
View File
@@ -3224,6 +3224,11 @@ MHD_lookup_connection_value_n (struct MHD_Connection *connection,
* For suspended connection this function can be called at any moment. Response
* will be sent as soon as connection is resumed.
*
* If response object is used to answer HEAD request then the body of
* the response is not used, while all headers (including automatic headers)
* are used. In practice, the same response object can be used to respond to
* both HEAD and GET requests.
*
* @param connection the connection identifying the client
* @param status_code HTTP status code (i.e. #MHD_HTTP_OK)
* @param response response to transmit, the NULL is tolerated
+5
View File
@@ -5110,6 +5110,11 @@ MHD_set_connection_option (struct MHD_Connection *connection,
* For suspended connection this function can be called at any moment. Response
* will be sent as soon as connection is resumed.
*
* If response object is used to answer HEAD request then the body of
* the response is not used, while all headers (including automatic headers)
* are used. In practice, the same response object can be used to respond to
* both HEAD and GET requests.
*
* @param connection the connection identifying the client
* @param status_code HTTP status code (i.e. #MHD_HTTP_OK)
* @param response response to transmit, the NULL is tolerated