kopia lustrzana https://github.com/gaul/s3proxy
Put each subresource on its own line
rodzic
3b4e0c8fdf
commit
f5d2fa9a0b
|
@ -137,12 +137,28 @@ public class S3ProxyHandler {
|
|||
.or(CharMatcher.is('_'))
|
||||
.or(CharMatcher.is('-'));
|
||||
private static final Set<String> SIGNED_SUBRESOURCES = ImmutableSet.of(
|
||||
"acl", "delete", "lifecycle", "location", "logging", "notification",
|
||||
"partNumber", "policy", "requestPayment", "response-cache-control",
|
||||
"response-content-disposition", "response-content-encoding",
|
||||
"response-content-language", "response-content-type",
|
||||
"response-expires", "torrent", "uploadId", "uploads", "versionId",
|
||||
"versioning", "versions", "website"
|
||||
"acl",
|
||||
"delete",
|
||||
"lifecycle",
|
||||
"location",
|
||||
"logging",
|
||||
"notification",
|
||||
"partNumber",
|
||||
"policy",
|
||||
"requestPayment",
|
||||
"response-cache-control",
|
||||
"response-content-disposition",
|
||||
"response-content-encoding",
|
||||
"response-content-language",
|
||||
"response-content-type",
|
||||
"response-expires",
|
||||
"torrent",
|
||||
"uploadId",
|
||||
"uploads",
|
||||
"versionId",
|
||||
"versioning",
|
||||
"versions",
|
||||
"website"
|
||||
);
|
||||
private static final Set<String> SUPPORTED_PARAMETERS = ImmutableSet.of(
|
||||
"acl",
|
||||
|
|
Ładowanie…
Reference in New Issue