projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7555eb
)
19899: Add Cache-Control header to keep-web CORS response
19899-webdav-cache-control
author
Stephen Smith <stephen@curii.com>
Mon, 6 Mar 2023 15:24:03 +0000
(10:24 -0500)
committer
Stephen 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
patch
|
blob
|
history
diff --git
a/services/keep-web/handler.go
b/services/keep-web/handler.go
index c40b691006198eeaa7764baeb0fa0e25d2fd5500..a321fbc00a08a95118ddc2e587873ccaccc96a5b 100644
(file)
--- 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,