kopia lustrzana https://github.com/gaul/s3proxy
Replace query parameters in anonymous requests
rodzic
19e2426220
commit
d557af774d
|
@ -633,7 +633,8 @@ final class S3ProxyHandler extends AbstractHandler {
|
||||||
.signGetBlob(path[1], path[2])
|
.signGetBlob(path[1], path[2])
|
||||||
.toBuilder()
|
.toBuilder()
|
||||||
.headers(ImmutableMultimap.<String, String>of())
|
.headers(ImmutableMultimap.<String, String>of())
|
||||||
// TODO: replace parameters?
|
.replaceQueryParams(
|
||||||
|
ImmutableMultimap.<String, String>of())
|
||||||
.build();
|
.build();
|
||||||
logger.debug("issuing anonymous request: {}", anonymousRequest);
|
logger.debug("issuing anonymous request: {}", anonymousRequest);
|
||||||
HttpResponse anonymousResponse = blobStore
|
HttpResponse anonymousResponse = blobStore
|
||||||
|
|
Ładowanie…
Reference in New Issue