Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cyclonedx_py/_internal/utils/mimetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down