smore-inc / tinys3

A simple python S3 upload library. Inspired by requests
MIT License
285 stars 54 forks source link

mimetypes broken for linux #33

Open gfemec opened 10 years ago

gfemec commented 10 years ago

I ran into an issue where importing tinys3 breaks the mimetypes package on linux. Specifically this line prevents the system's mimetype database from being loaded, breaking detection of the application/json mime type among other things. The workaround for this issue should probably only be used on windows machines.