19899: Add Cache-Control header to keep-web CORS response 19899-webdav-cache-control
authorStephen Smith <stephen@curii.com>
Mon, 6 Mar 2023 15:24:03 +0000 (10:24 -0500)
committerStephen Smith <stephen@curii.com>
Mon, 6 Mar 2023 15:24:03 +0000 (10:24 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

services/keep-web/handler.go

index c40b691006198eeaa7764baeb0fa0e25d2fd5500..a321fbc00a08a95118ddc2e587873ccaccc96a5b 100644 (file)
@@ -117,7 +117,7 @@ var (
        corsAllowHeadersHeader = strings.Join([]string{
                "Authorization", "Content-Type", "Range",
                // WebDAV request headers:
-               "Depth", "Destination", "If", "Lock-Token", "Overwrite", "Timeout",
+               "Depth", "Destination", "If", "Lock-Token", "Overwrite", "Timeout", "Cache-Control",
        }, ", ")
        writeMethod = map[string]bool{
                "COPY":      true,