Source code for s3pathlib.content_type

# -*- coding: utf-8 -*-

"""
S3 content type.
"""

[docs] class ContentTypeEnum: """ The following is the list of content type that AWS S3 support. So you can click Open button to preview it in the browser. """ image_jpeg = "image/jpeg" image_png = "image/png" image_gif = "image/gif" image_bmp = "image/bmp" image_tiff = "image/tiff" image_svg_xml = "image/svg+xml" html = "text/html" text_plain = "text/plain" text_rtf = "text/rtf" app_pdf = "application/pdf" app_json = "application/json" app_zip = "application/zip" app_gzip = "application/x-gzip" app_ms_word = "application/msword" audio_mpeg = "audio/mpeg"