summaryrefslogtreecommitdiff
path: root/src/mhd/mhd_legal.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-04-06 23:46:39 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-04-06 23:46:39 +0200
commit36b2cbb47e6cbb9b658abea34ea6cc37d90a1336 (patch)
treedd11027b91f3a4b7129919f12886033a3ce07655 /src/mhd/mhd_legal.c
parentd4f9417d8c5c4f533e1206554520d7a519ecd4d9 (diff)
downloadexchange-36b2cbb47e6cbb9b658abea34ea6cc37d90a1336.tar.gz
exchange-36b2cbb47e6cbb9b658abea34ea6cc37d90a1336.tar.bz2
exchange-36b2cbb47e6cbb9b658abea34ea6cc37d90a1336.zip
modify logic to match
https://datatracker.ietf.org/doc/draft-nottingham-http-availability-hints/
Diffstat (limited to 'src/mhd/mhd_legal.c')
-rw-r--r--src/mhd/mhd_legal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index 25435210e..37042a563 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -257,7 +257,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
char *tmp = langs;
GNUNET_asprintf (&langs,
- "%s %s",
+ "%s,%s",
tmp,
p->language);
GNUNET_free (tmp);
@@ -327,7 +327,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
{
GNUNET_break (MHD_YES ==
MHD_add_response_header (resp,
- "Acceptable-Languages",
+ "Avail-Languages",
langs));
GNUNET_free (langs);
}