You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified s3_util.py to use the mimetypes module:
top of file add:
from mimetypes import guess_type
and in s3_util.py _stream_data_from_file_
change:
headers['content-type'] = 'application/octet-stream'
to:
headers['content-type'] = guess_type(fileName)[0]
Original issue reported on code.google.com by stephen.mc on 29 Oct 2008 at 12:28
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
stephen.mc
on 29 Oct 2008 at 12:28The text was updated successfully, but these errors were encountered: