azure-sdk-for-ruby
azure-sdk-for-ruby copied to clipboard
Unexpected content-encoding generated by asm v0.7.10
require 'azure'
#https://rubydoc.info/gems/azure/
Azure.storage_account_name = <account name>
Azure.storage_access_key = <storage key>
default_blobs = Azure.blobs
default_blobs.create_container("content-encoding-test", {})
default_blobs.create_block_blob("content-encoding-test", "content-encoding-empty", "Hello world", {content_type: "application/json; charset=utf-8"})
an unexpected
ContentEncoding: utf-8
is generated by the code below
https://github.com/Azure/azure-sdk-for-ruby/blob/f9d1dcfc05e980c4452d53b10ea82b26095296f6/lib/azure/blob/blob_service.rb#L1373
@whs-dot-hk Hello. Thanks! I may need some time to look at this issue. Because all of these sdk are auto-generated from swagger. Usually a manual PR is not acceptable.
Hi, we came across this issue when trying to use the this library (azure blob) and azure cdn
with content encoding utf-8 the cdn won't serve our content
Thank you for your interest in Azure SDKs. As detailed in this retirement announcement, this repo is no longer supported as of December 31st 2021. Please find the up-to-date list of languages and services supported with Azure SDKs here: https://aka.ms/azsdk