aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_mhd_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-12 14:15:02 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-12 14:15:02 +0200
commit75d9584e280ebfb3fcb400f46942695ac6e2958e (patch)
treeafe300a9dcd4aea77ae8612ef4777ffc896cae18 /src/include/taler_mhd_lib.h
parent6cf4a068ad58f22d1896d322fc96b59d1120a98c (diff)
add Etag and 'expires' to /wire
Diffstat (limited to 'src/include/taler_mhd_lib.h')
-rw-r--r--src/include/taler_mhd_lib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_mhd_lib.h b/src/include/taler_mhd_lib.h
index dc68df06b..b64231352 100644
--- a/src/include/taler_mhd_lib.h
+++ b/src/include/taler_mhd_lib.h
@@ -208,6 +208,18 @@ TALER_MHD_reply_with_ec (struct MHD_Connection *connection,
/**
+ * Produce HTTP "Date:" header.
+ *
+ * @param at time to write to @a date
+ * @param[out] date where to write the header, with
+ * at least 128 bytes available space.
+ */
+void
+TALER_MHD_get_date_string (struct GNUNET_TIME_Absolute at,
+ char date[128]);
+
+
+/**
* Make JSON response object.
*
* @param json the json object