commit 8ac387db09a533da31f85a7e45f8a5adb9e21410
parent e1cc1f2503aa6db67213304757d98567ae49b7c0
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Wed, 15 Jul 2026 18:32:18 +0200
varies by lang
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c
@@ -370,7 +370,12 @@ TALER_TEMPLATING_reply (struct MHD_Connection *connection,
MHD_add_response_header (reply,
MHD_HTTP_HEADER_CONTENT_TYPE,
"text/html"));
- // FIXME: set Vary header!
+ /* FIXME: also vary by compression? */
+ GNUNET_break (MHD_NO !=
+ MHD_add_response_header (
+ reply,
+ MHD_HTTP_HEADER_VARY,
+ MHD_HTTP_HEADER_ACCEPT_LANGUAGE));
ret = MHD_queue_response (connection,
http_status,
reply);