Added eml and msg file types and associated content types.

This commit is contained in:
jpitts-uva 2024-01-29 02:20:56 -05:00
parent 85e2a84642
commit 189d47be75
1 changed files with 4 additions and 0 deletions

View File

@ -20,9 +20,11 @@ class FileType(enum.Enum):
dmn = "dmn"
doc = "doc"
docx = "docx"
eml = "eml"
gif = 'gif'
jpg = 'jpg'
md = 'md'
msg = 'msg'
pdf = 'pdf'
png = 'png'
ppt = 'ppt'
@ -43,9 +45,11 @@ CONTENT_TYPES = {
"dmn": "text/xml",
"doc": "application/msword",
"docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"eml": "application/octet-stream",
"gif": "image/gif",
"jpg": "image/jpeg",
"md": "text/plain",
"msg": "application/vnd.ms-outlook",
"pdf": "application/pdf",
"png": "image/png",
"ppt": "application/vnd.ms-powerpoint",