You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will be uploaded to azure blob storage as the default "application/octet-steam" rather than "text/html". Azure blob storage can be used to host static sites, for instance, but requires it knows the content types (text/html, text/javascript, etc) of files.
It would be simple enough to default to not passing in an argument unless specified, so shouldn't (in theory) cause any changes to existing code.
But I'm not sure I understand enough about fsspec and adlfs's interaction. Does fsspec just pass any additional keyword arguments down the chain so that the earlier example would work as expected?
The text was updated successfully, but these errors were encountered:
When writing to azure blob storage, it's not currently possible to specify content type. For instance this:
will be uploaded to azure blob storage as the default "application/octet-steam" rather than "text/html". Azure blob storage can be used to host static sites, for instance, but requires it knows the content types (text/html, text/javascript, etc) of files.
It would be really handy if this was possible:
azure sdk blob client offerns a
content_settings
keyword argument that works like this:I think passing this in from an adlfs perspective would just be something like this for spec.py (lines 1574):
It would be simple enough to default to not passing in an argument unless specified, so shouldn't (in theory) cause any changes to existing code.
But I'm not sure I understand enough about fsspec and adlfs's interaction. Does fsspec just pass any additional keyword arguments down the chain so that the earlier example would work as expected?
The text was updated successfully, but these errors were encountered: