solid-filemanager
solid-filemanager copied to clipboard
.zip content-type `unknown`
I zipped public/ the zip resource created was public.zip as expected but with the file in the file system was public.zip$.unknown meaning that the content-type is unknown.
When logging the generated blob before downloading (here), it outputs Blob { size: 474592, type: "application/zip" }. So at least until there it is fine, and afterwards I don't know what could go wrong. On Linux with Firefox it gets downloaded as public.zip.
And in case you meant the "Zip here" action, it is uploaded with content-type: application/zip, so that also should work.
So I am not sure where it breaks in your case, or what I could adjust.
I don't know where the issue comes from.
- with your version I got
application/octet-stream - with my version at https://bourgeoa.github.io/solid-filemanager I got
application/zip
You can see the content-type in source-pane for a Container contents.