From 1cf25e3052e215ae8f01868445e5e1d22d31ec7e Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 25 Nov 2020 17:50:49 +0000 Subject: [PATCH] doc: lws_add_http_header_by_name make it clear the trailing : is expected --- include/libwebsockets/lws-http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libwebsockets/lws-http.h b/include/libwebsockets/lws-http.h index d0d38290f..313af1d8b 100644 --- a/include/libwebsockets/lws-http.h +++ b/include/libwebsockets/lws-http.h @@ -548,7 +548,7 @@ lws_add_http_header_status(struct lws *wsi, * lws_add_http_header_by_name() - append named header and value * * \param wsi: the connection to check - * \param name: the hdr name, like "my-header" + * \param name: the hdr name, like "my-header:" * \param value: the value after the = for this header * \param length: the length of the value * \param p: pointer to current position in buffer pointer