Closed as not planned
Closed as not planned
Description
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 as application/octet-stream
Example code:
ObjectStoragePath("file:///opt/airflow/input.tif").copy(dst=base / "copy.tif")
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:
ObjectStoragePath("file:///opt/airflow/input.tif").copy(dst=base / "copy.tif")
Operating System
Ubuntu 22.04 (WSL2)
Versions of Apache Airflow Providers
- apache-airflow-providers-microsoft-azure 10.1.0
Deployment
Docker-Compose
Deployment details
No response
Anything else?
Related Discussion:
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct