From cd11d5709d584ba6729fffe00b85cfe556af2d61 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Tue, 17 Aug 2021 19:22:17 -0700 Subject: [PATCH] Add Location to ProgramHeader exclusions --- tool/net/redbean.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tool/net/redbean.c b/tool/net/redbean.c index 3922728c1..fa8e95838 100644 --- a/tool/net/redbean.c +++ b/tool/net/redbean.c @@ -928,6 +928,7 @@ static void ProgramHeader(const char *s) { case kHttpContentLength: case kHttpContentEncoding: case kHttpContentRange: + case kHttpLocation: fprintf(stderr, "error: can't program header: %`'s\n", s); exit(1); case kHttpServer: