s3: pass through s3 presigned headers
fix https://github.com/chrislusf/seaweedfs/discussions/2502
This commit is contained in:
@@ -52,3 +52,12 @@ func GetBucketAndObject(r *http.Request) (bucket, object string) {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
var PassThroughHeaders = map[string]string{
|
||||
"response-cache-control": "Cache-Control",
|
||||
"response-content-disposition": "Content-Disposition",
|
||||
"response-content-encoding": "Content-Encoding",
|
||||
"response-content-language": "Content-Language",
|
||||
"response-content-type": "Content-Type",
|
||||
"response-expires": "Expires",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user