mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-26 08:12:21 +03:00
added content type
This commit is contained in:
parent
75d818b6a1
commit
f07868f46c
1 changed files with 15 additions and 0 deletions
15
opt/ahenk/base/model/ContentType.py
Normal file
15
opt/ahenk/base/model/ContentType.py
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Author: Volkan Şahin <volkansah.in> <bm.volkansahin@gmail.com>
|
||||||
|
from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
|
class ContentType(Enum):
|
||||||
|
APPLICATION_JSON = 'APPLICATION_JSON'
|
||||||
|
APPLICATION_PDF = 'APPLICATION_PDF'
|
||||||
|
APPLICATION_VND_MS_EXCEL = 'APPLICATION_VND_MS_EXCEL'
|
||||||
|
APPLICATION_MS_WORD = 'APPLICATION_MS_WORD'
|
||||||
|
TEXT_PLAIN = 'TEXT_PLAIN'
|
||||||
|
TEXT_HTML = 'TEXT_HTML'
|
||||||
|
IMAGE_PNG = 'IMAGE_PNG'
|
||||||
|
IMAGE_JPEG = 'IMAGE_JPEG'
|
Loading…
Reference in a new issue