[arvados] created: 2.5.0-221-gaede6055f

git repository hosting git at public.arvados.org
Mon Mar 6 15:24:27 UTC 2023


        at  aede6055f332c1680f6fe955e03e3e6364f8eca8 (commit)


commit aede6055f332c1680f6fe955e03e3e6364f8eca8
Author: Stephen Smith <stephen at curii.com>
Date:   Mon Mar 6 10:24:03 2023 -0500

    19899: Add Cache-Control header to keep-web CORS response
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/services/keep-web/handler.go b/services/keep-web/handler.go
index c40b69100..a321fbc00 100644
--- a/services/keep-web/handler.go
+++ b/services/keep-web/handler.go
@@ -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,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list