aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-06-14 00:09:32 +0000
committerChristian Grothoff <christian@grothoff.org>2007-06-14 00:09:32 +0000
commitb7054096a4e58009d7eddbda083762883213f937 (patch)
treec6ee744359d5c13e9c0de3238c0acc1a823f782d /src/include/microhttpd.h
parent6e12c7fae2b6350a65f1b2eeedafd6f05510726b (diff)
downloadlibmicrohttpd-b7054096a4e58009d7eddbda083762883213f937.tar.gz
libmicrohttpd-b7054096a4e58009d7eddbda083762883213f937.zip
extended API, setting content length automatically if needed
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,
507 void * iterator_cls); 507 void * iterator_cls);
508 508
509 509
510/**
511 * Get a particular header from the response.
512 *
513 * @param key which header to get
514 * @return NULL if header does not exist
515 */
516const char *
517MHD_get_response_header(struct MHD_Response * response,
518 const char * key);
519
520
510#if 0 /* keep Emacsens' auto-indent happy */ 521#if 0 /* keep Emacsens' auto-indent happy */
511{ 522{
512#endif 523#endif