S3 javascript file metadata set incorrect
Hello!
I was attempting to use WinSCP to send some files to S3 storage and noticed that the content-type for my *.js files was set to instead of the expected (which is how Amazon's S3 web interface treats *.js files).
Is this possibly a limitation in the MIME Type API that WinSCP is using? (https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms775147(v=vs.85)#known-mime-types)
I noticed a related fix here: https://winscp.net/forum/viewtopic.php?t=25765 which is what lead me to find that API page.
I would be happy to offer more details or do some testing if this is indeed an issue within WinSCP.
I was attempting to use WinSCP to send some files to S3 storage and noticed that the content-type for my *.js files was set to
binary/octet-stream
application/javascript
Is this possibly a limitation in the MIME Type API that WinSCP is using? (https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms775147(v=vs.85)#known-mime-types)
I noticed a related fix here: https://winscp.net/forum/viewtopic.php?t=25765 which is what lead me to find that API page.
I would be happy to offer more details or do some testing if this is indeed an issue within WinSCP.