mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 21:28:32 +00:00
Merge pull request #592 from sartography/jpitts-uva-patch-1
Added eml and msg file types and associated content types.
This commit is contained in:
commit
98e87845b7
@ -20,9 +20,11 @@ class FileType(enum.Enum):
|
|||||||
dmn = "dmn"
|
dmn = "dmn"
|
||||||
doc = "doc"
|
doc = "doc"
|
||||||
docx = "docx"
|
docx = "docx"
|
||||||
|
eml = "eml"
|
||||||
gif = 'gif'
|
gif = 'gif'
|
||||||
jpg = 'jpg'
|
jpg = 'jpg'
|
||||||
md = 'md'
|
md = 'md'
|
||||||
|
msg = 'msg'
|
||||||
pdf = 'pdf'
|
pdf = 'pdf'
|
||||||
png = 'png'
|
png = 'png'
|
||||||
ppt = 'ppt'
|
ppt = 'ppt'
|
||||||
@ -43,9 +45,11 @@ CONTENT_TYPES = {
|
|||||||
"dmn": "text/xml",
|
"dmn": "text/xml",
|
||||||
"doc": "application/msword",
|
"doc": "application/msword",
|
||||||
"docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
"docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
||||||
|
"eml": "application/octet-stream",
|
||||||
"gif": "image/gif",
|
"gif": "image/gif",
|
||||||
"jpg": "image/jpeg",
|
"jpg": "image/jpeg",
|
||||||
"md": "text/plain",
|
"md": "text/plain",
|
||||||
|
"msg": "application/vnd.ms-outlook",
|
||||||
"pdf": "application/pdf",
|
"pdf": "application/pdf",
|
||||||
"png": "image/png",
|
"png": "image/png",
|
||||||
"ppt": "application/vnd.ms-powerpoint",
|
"ppt": "application/vnd.ms-powerpoint",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user