reschke commented on code in PR #2570:
URL: https://github.com/apache/jackrabbit-oak/pull/2570#discussion_r2419168218
##########
oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/AzureBlobStoreBackend.java:
##########
@@ -814,10 +814,19 @@ protected URI createHttpDownloadURI(@NotNull
DataIdentifier identifier,
}
String key = getKeyName(identifier);
+
+ // Prepare headers for the presigned URI
+ BlobSasHeaders headers = new BlobSasHeaders()
+ .setCacheControl(String.format("private, max-age=%d,
immutable", httpDownloadURIExpirySeconds))
+ .setContentType(downloadOptions.getContentTypeHeader())
Review Comment:
I hope that returns the field value, not the whole header field. :-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]