application/octet-stream
content-type when writing to Azure Blob Storage using ObjectStoragePath
#39722
Open
1 of 2 tasks
Labels
AIP-58
area:providers
kind:bug
This is a clearly a bug
provider:microsoft-azure
Azure-related issues
upstream-dependency
Apache Airflow version
2.9.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
When using
ObjectStoragePath
to send a file to an Azure Blob Storage Container the content type is being set asapplication/octet-stream
Example code:
Content types displayed on Azure Storage Explorer:
(Note:
input.tif
is manually uploaded using Azure Storage Explorer)Not sure if it's a bug, a feature request or if there is already a solution.
What you think should happen instead?
After uploading a file using
ObjectStoragePath
the content-type should be appropriate.How to reproduce
Example code:
Operating System
Ubuntu 22.04 (WSL2)
Versions of Apache Airflow Providers
Deployment
Docker-Compose
Deployment details
No response
Anything else?
Related Discussion:
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: