If I try to upload a text/plain without extension, this line replaces the its mime type to application/octet-stream since the lookup is performed on the file name.
This implies that I cannot read text files on jii but instead I need to download them before.
I actually wanted to open a PR, but then I thought that probably this is a feature rather than a bug.
What do you think?
If I try to upload a
text/plain
without extension, this line replaces the its mime type toapplication/octet-stream
since the lookup is performed on the file name.This implies that I cannot read text files on jii but instead I need to download them before.
I actually wanted to open a PR, but then I thought that probably this is a feature rather than a bug. What do you think?