Latest Azure CLI Versions[2.34.0 and 2.34.1] - storage blob upload change in behavior #21591
Labels
Auto-Assign
Auto assign by bot
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Storage
az storage
Milestone
On uploading a blob for example a html file or a image file using the latest AZ CLI versions[2.34.0 and 2.34.1] using the upload command, the content-type is being set as application/octet-stream
The content-type header value for blobs uploaded az storage upload blobwould be based off the file extension in older versions. Now they are always application/octetstream:
az storage blob upload
--account-name
--container-name
--name helloworld
--file helloworld
--auth-mode login
Expected behavior
The previous versions of Azure CLI were automatically updating the Header content-type. The new version, however, is not doing that anymore
Windows
https://azcliprod.blob.core.windows.net/msi/azure-cli-.msi
The text was updated successfully, but these errors were encountered: