Skip to content

Commit 9861a46

Browse files
schlenkMichael Schlenkerjkowalleck
authored
feat: Add mimetype detection for rich text format (rtf) (#886)
--------- Signed-off-by: Michael Schlenker <michael.schlenker@contact-software.com> Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> Co-authored-by: Michael Schlenker <michael.schlenker@contact-software.com> Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 6b7bbb2 commit 9861a46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cyclonedx_py/_internal/utils/mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
'.md': 'text/markdown',
3030
'.txt': 'text/plain',
3131
'.rst': 'text/prs.fallenstein.rst',
32+
'.rtf': 'application/rtf',
3233
'.xml': 'text/xml', # not `application/xml` -- our scope is text!
3334
# license-specific files
3435
'.license': _MIME_TEXT_PLAIN,

0 commit comments

Comments
 (0)