solid-start icon indicating copy to clipboard operation
solid-start copied to clipboard

Pass file type through to Files in FormData

Open soorria opened this issue 2 years ago • 0 comments

Currently, the MIME types of any uploaded files aren't passed through to the File constructor, so file.type is always '' (empty string).

This fixes that, by passing through what the multipart/form-data parser gets, and updates the server file action integration test to check uploaded file MIME types.

soorria avatar Nov 16 '22 22:11 soorria