Skip to content

Add support for additional headers#10

Closed
arashnd wants to merge 1 commit intotestdouble:mainfrom
pincsolutions:support-additional-headers
Closed

Add support for additional headers#10
arashnd wants to merge 1 commit intotestdouble:mainfrom
pincsolutions:support-additional-headers

Conversation

@arashnd
Copy link
Copy Markdown
Contributor

@arashnd arashnd commented Dec 3, 2024

Thanks for incredible gem!!

In our app we want the ability to pass additional headers (We have custom ActiveStorage::Service class inherits from ActiveStorage::Service::AzureBlobService)

There are many use cases where want to send additional headers for example Customer Provided Keys for Encryption

Azure/azure-storage-ruby#221
https://learn.microsoft.com/en-us/azure/storage/blobs/encryption-customer-provided-keys
https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob

Change is fairly simple but I can improve this PR further if necessary.

@JoeDupuis
Copy link
Copy Markdown
Member

This is a good idea. We need to add this for the other endpoints with headers too.
There is a couple more writer methods + the reader methods.
I also want to add some tests.

@JoeDupuis
Copy link
Copy Markdown
Member

I don't have auth to push on your branch, I will close this PR and reopen with #33

@JoeDupuis JoeDupuis closed this May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants