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:
jpitts-uva 2024-01-29 02:49:21 -05:00 committed by GitHub
commit 98e87845b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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",