aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-21 10:43:22 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-21 10:43:22 +0200
commita9f01707ad64fc554077ca109ba03128ed8294be (patch)
treea2dbd07b39e5a4a38db501050dbd2c01fd8f83ec /src/mint/taler-mint-httpd_responses.h
parent49d8426cf444daaf97c195096c5f59bf010b16d0 (diff)
add option -C to force closing of connections
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h
index deb7dd639..9746ef90b 100644
--- a/src/mint/taler-mint-httpd_responses.h
+++ b/src/mint/taler-mint-httpd_responses.h
@@ -32,6 +32,16 @@
#include "taler-mint-httpd.h"
#include "taler-mint-httpd_db.h"
+/**
+ * Add headers we want to return in every response.
+ * Useful for testing, like if we want to always close
+ * connections.
+ *
+ * @param response response to modify
+ */
+void
+TMH_RESPONSE_add_global_headers (struct MHD_Response *response);
+
/**
* Send JSON object as response.