commit 4d1319daadf9d2ebd656fe207c3dc653fdaa5413
parent c8a56f18cabc139b3f860b6eab3d9e4cb0c63355
Author: Florian Dold <florian@dold.me>
Date: Tue, 12 Dec 2023 16:07:10 +0100
return Content-Language header in legal responses
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
@@ -360,6 +360,10 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
MHD_add_response_header (resp,
MHD_HTTP_HEADER_CONTENT_TYPE,
t->mime_type));
+ GNUNET_break (MHD_YES ==
+ MHD_add_response_header (resp,
+ MHD_HTTP_HEADER_CONTENT_LANGUAGE,
+ t->language));
{
MHD_RESULT ret;