diff options
author | Florian Dold <florian@dold.me> | 2023-12-12 16:07:10 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-12-12 16:07:10 +0100 |
commit | 4d1319daadf9d2ebd656fe207c3dc653fdaa5413 (patch) | |
tree | 28d9f28eefe7d935f9228b560216e15a10bb6e80 | |
parent | c8a56f18cabc139b3f860b6eab3d9e4cb0c63355 (diff) |
return Content-Language header in legal responses
m--------- | contrib/gana | 0 | ||||
m--------- | contrib/wallet-core | 0 | ||||
-rw-r--r-- | src/mhd/mhd_legal.c | 4 |
3 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gana b/contrib/gana -Subproject 2ccbe6a28c86fb1618d30b3d76d9fd70c95203a +Subproject ec6c82120f0c3dca85429b86652fd25d3c25a88 diff --git a/contrib/wallet-core b/contrib/wallet-core -Subproject 53472cb936c69a6830c48d4c8d79d43cb19e37e +Subproject ec95723a68d36620aa66109c329437612383830 diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c index 137cc436a..0f110baa3 100644 --- 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; |