diff --git a/cyclonedx_py/_internal/utils/mimetypes.py b/cyclonedx_py/_internal/utils/mimetypes.py index 0d447c42..489ba008 100644 --- a/cyclonedx_py/_internal/utils/mimetypes.py +++ b/cyclonedx_py/_internal/utils/mimetypes.py @@ -29,12 +29,12 @@ '.md': 'text/markdown', '.txt': 'text/plain', '.rst': 'text/prs.fallenstein.rst', - '.rtf': 'application/rtf', + '.rtf': 'application/rtf', # our scope is text, yes, but RTF is binary - so we should base64 encode it ... '.xml': 'text/xml', # not `application/xml` -- our scope is text! + # add more mime types above this line. pull-requests welcome! # license-specific files '.license': _MIME_TEXT_PLAIN, '.licence': _MIME_TEXT_PLAIN, - # add more mime types. pull-requests welcome! } _LICENSE_FNAME_BASE = ('licence', 'license')