headers["Content-Type"] = "text/plain"
elif mime_type in ["application/gzip", "application/x-gzip"]:
headers["Content-Type"] = "application/gzip"
+ elif mime_type in ["application/zip"]:
+ headers["Content-Type"] = "application/zip"
else:
raise ClientException(
"Unexpected MIME type for file {}: MIME type {}".format(