summaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index cb2e280a..d0b1b5dc 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -507,6 +507,17 @@ MHD_get_response_headers(struct MHD_Response * response,
void * iterator_cls);
+/**
+ * Get a particular header from the response.
+ *
+ * @param key which header to get
+ * @return NULL if header does not exist
+ */
+const char *
+MHD_get_response_header(struct MHD_Response * response,
+ const char * key);
+
+
#if 0 /* keep Emacsens' auto-indent happy */
{
#endif