#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time    : 2024/5/28 11:25


class ContentTypes(object):

    # 多部分类型
    MULTIPART_FORM_DATA = "multipart/form-data"

    # 文本类型
    TEXT_HTML = "text/html;charset=utf-8"
    TEXT_PLAIN = "text/plain;charset=utf-8"

    # JSON类型
    APPLICATION_JSON = "application/json;charset=UTF-8"

    # 二进制类型
    APPLICATION_PDF = "application/pdf"
    APPLICATION_ZIP = "application/zip"
    APPLICATION_OCTET_STREAM = "application/octet-stream;charset=UTF-8"

    # 图片类型
    IMAGE_JPEG = "image/jpeg"
    IMAGE_PNG = "image/png"
    IMAGE_GIF = "image/gif"
    IMAGE_SVG_XML = "image/svg+xml"

    # 表单类型
    APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded;charset=UTF-8"

