commit a38cdd2d506663068e198ae7e02050501b333bcc
parent 2b64280ef28f03bc24e971ad54683c2f5faaa440
Author: Joris Vink <joris@coders.se>
Date: Sat, 4 May 2019 20:27:34 +0200
add missing http_response_header().
From Abel Abraham Camarillo Ojeda via patches@
Diffstat:
api/http.md | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/api/http.md b/api/http.md
@@ -29,6 +29,30 @@ Nothing
---
+# http\_response\_header
+
+### Synopsis
+
+```
+void http_response_header(struct http_request *req, const char *header, const char *value)
+```
+
+### Description
+
+Includes HTTP header into response.
+
+| Parameter | Description |
+| --- | --- |
+| req | The HTTP request to respond to. |
+| header | The HTTP header to include in the response. |
+| value | The HTTP header value to include in the response. |
+
+### Returns
+
+Nothing
+
+---
+
# http\_response\_stream
### Synopsis