I am uploading a static site using the databricks
platform specifically using the below command for pushing html
content to a location.
dbutils.fs.put("/mnt/$web/index.html", html, overwrite=True)
This is working but the HTML file is downloading instead of displaying. This is because the content type is wrong: Content-Type: application/octet-stream
.
Is there any way to set this using databricks
?