commit 6ca94626091b2ac576578b70c7c3862b56aaa02d
parent edc0d6d8678395999004b551556d9013cc385048
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 22 Jun 2025 13:48:52 +0200
add 'Cache-control: no-store' by default (fixes #9723)
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
@@ -840,7 +840,8 @@ spa_redirect (const struct TMH_RequestHandler *rh,
GNUNET_break (0);
return MHD_NO;
}
- TALER_MHD_add_global_headers (response);
+ TALER_MHD_add_global_headers (response,
+ true);
GNUNET_break (MHD_YES ==
MHD_add_response_header (response,
MHD_HTTP_HEADER_CONTENT_TYPE,
@@ -1940,7 +1941,8 @@ url_handler (void *cls,
= MHD_create_response_from_buffer (0,
NULL,
MHD_RESPMEM_PERSISTENT);
- TALER_MHD_add_global_headers (response);
+ TALER_MHD_add_global_headers (response,
+ true);
if (MHD_NO ==
MHD_add_response_header (response,
MHD_HTTP_HEADER_LOCATION,