From 7c6ceb46010971583ec4a19f9816aeae1041af51 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 23 Nov 2023 21:09:54 +0100 Subject: drop the 'Cache-Control: no-cache' header in http response... ... as pacman upstream will never use it. --- pacredir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/pacredir.c b/pacredir.c index c54d344..1982262 100644 --- a/pacredir.c +++ b/pacredir.c @@ -570,7 +570,6 @@ response: page = malloc(strlen(PAGE404) + strlen(basename) + 1); sprintf(page, PAGE404, basename); response = MHD_create_response_from_buffer(strlen(page), (void*) page, MHD_RESPMEM_MUST_FREE); - ret = MHD_add_response_header(response, "Cache-Control", "no-cache"); ret = MHD_queue_response(connection, MHD_HTTP_NOT_FOUND, response); } -- cgit v1.2.3-70-g09d2