I noticed that when I tried to send a .txt file, it returned an error saying it wasn't supported, even though the map had the option for txt. The issue arose because my file had charset=utf-8, and since there was no corresponding entry in the map, it resulted in an error. I chose not to remove text/plain because there might be files that aren't in utf-8 format.
I noticed that when I tried to send a .txt file, it returned an error saying it wasn't supported, even though the map had the option for txt. The issue arose because my file had charset=utf-8, and since there was no corresponding entry in the map, it resulted in an error. I chose not to remove text/plain because there might be files that aren't in utf-8 format.