Put each subresource on its own line

pull/190/head
Andrew Gaul 2017-02-21 16:34:13 -08:00
rodzic 3b4e0c8fdf
commit f5d2fa9a0b
1 zmienionych plików z 22 dodań i 6 usunięć

Wyświetl plik

@ -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",