From b7054096a4e58009d7eddbda083762883213f937 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 Jun 2007 00:09:32 +0000 Subject: extended API, setting content length automatically if needed --- src/include/microhttpd.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/include/microhttpd.h') 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 -- cgit v1.2.3