aboutsummaryrefslogtreecommitdiff
path: root/src/mhd/mhd_legal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mhd/mhd_legal.c')
-rw-r--r--src/mhd/mhd_legal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index a46b7279d..19a21475f 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -185,6 +185,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
185 resp = MHD_create_response_from_buffer (0, 185 resp = MHD_create_response_from_buffer (0,
186 NULL, 186 NULL,
187 MHD_RESPMEM_PERSISTENT); 187 MHD_RESPMEM_PERSISTENT);
188 TALER_MHD_add_global_headers (resp);
188 ret = MHD_queue_response (conn, 189 ret = MHD_queue_response (conn,
189 MHD_HTTP_NOT_MODIFIED, 190 MHD_HTTP_NOT_MODIFIED,
190 resp); 191 resp);
@@ -288,6 +289,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
288 (void *) t->terms, 289 (void *) t->terms,
289 MHD_RESPMEM_PERSISTENT); 290 MHD_RESPMEM_PERSISTENT);
290 } 291 }
292 TALER_MHD_add_global_headers (resp);
291 if (NULL != legal) 293 if (NULL != legal)
292 GNUNET_break (MHD_YES == 294 GNUNET_break (MHD_YES ==
293 MHD_add_response_header (resp, 295 MHD_add_response_header (resp,