Skip to content

Guard against nil value for x-ms-blob-content-type - #212

Open
Seth Boyles (sethboyles) wants to merge 5 commits into
Azure:devfrom
sethboyles:patch-1
Open

Guard against nil value for x-ms-blob-content-type#212
Seth Boyles (sethboyles) wants to merge 5 commits into
Azure:devfrom
sethboyles:patch-1

Conversation

@sethboyles

@sethboyles Seth Boyles (sethboyles) commented Feb 10, 2022

Copy link
Copy Markdown

This PR just adds usage of StorageService.with_header for x-ms-content-type, so it behaves the same as other headers.

Without this, we are having issue correctly generating the authorization signature:

AuthenticationFailed", @description: "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:3b52e87a-d01e-000a-58ac-1e4d7a000000\nTime:2022-02-10T18:35:24.3205083Z">

@sethboyles

Copy link
Copy Markdown
Author

Kan Tang (@katmsft) apologies if I am tagging the wrong person. Is it possible to get this merged & released at some point? It is blocking us from getting https://github.com/fog/fog-azure-rm/ upgraded to the newer versions of azure-storage-ruby.

Thanks

@MerricdeLauney

Copy link
Copy Markdown

Hi Kan Tang (@katmsft), Just checking in on this.

@sethboyles

Copy link
Copy Markdown
Author

Yang Xia (@yaxia) Kan Tang (@katmsft) Could we get this looked at?

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.

3 participants