diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-23 21:09:54 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-11-24 08:31:59 +0100 |
commit | 7c6ceb46010971583ec4a19f9816aeae1041af51 (patch) | |
tree | c39cebf7a3af4ccc6b9a7d5edb6d55331f296108 | |
parent | e4fb574acba84e51feab84f79c317f68da363b85 (diff) | |
download | pacredir-7c6ceb46010971583ec4a19f9816aeae1041af51.tar.gz pacredir-7c6ceb46010971583ec4a19f9816aeae1041af51.tar.zst |
drop the 'Cache-Control: no-cache' header in http response...
... as pacman upstream will never use it.
-rw-r--r-- | pacredir.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); } |