From ac54bede6aa6953253d1b04443c5bc6062676060 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 31 Oct 2023 01:34:37 +0000 Subject: Some bugfixes Signed-off-by: Laurent Bercot --- src/config/headers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config') diff --git a/src/config/headers.c b/src/config/headers.c index 4fcdf7d..077a733 100644 --- a/src/config/headers.c +++ b/src/config/headers.c @@ -25,6 +25,7 @@ static struct builtinheaders_s const builtinheaders[] = { .key = "Allow", .value = 0, .overridable = 0 }, { .key = "Cache-Control", .value = "private", .overridable = 1 }, { .key = "Connection", .value = 0, .overridable = 0 }, + { .key = "Content-Length", .value = 0, .overridable = 0 }, { .key = "Content-Security-Policy", .value = "default-src 'self'; style-src 'self' 'unsafe-inline';", .overridable = 1 }, { .key = "Date", .value = 0, .overridable = 0 }, { .key = "Referrer-Policy", .value = "no-referrer-when-downgrade", .overridable = 1 }, @@ -48,7 +49,6 @@ int header_allowed (char const *key) { static char const *const nope[] = { - "Content-Length", "Content-Type", "Location" } ; -- cgit v1.3.1