File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cyclonedx_py/_internal/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222_MIME_TEXT_PLAIN = 'text/plain'
2323
2424_MAP_EXT_MIME = {
25- # https://www.iana.org/assignments/media-types/media-types.xhtml
25+ # https://www.iana.org/assignments/media-types/media-types.xhtml#text
2626 '.csv' : 'text/csv' ,
2727 '.htm' : 'text/html' ,
2828 '.html' : 'text/html' ,
2929 '.md' : 'text/markdown' ,
3030 '.txt' : 'text/plain' ,
3131 '.rst' : 'text/prs.fallenstein.rst' ,
32- '.rtf' : 'application /rtf' ,
32+ '.rtf' : 'text /rtf' , # not `application/rtf` -- our scope is text!
3333 '.xml' : 'text/xml' , # not `application/xml` -- our scope is text!
34+ # add more mime types above this line. pull-requests welcome!
3435 # license-specific files
3536 '.license' : _MIME_TEXT_PLAIN ,
3637 '.licence' : _MIME_TEXT_PLAIN ,
37- # add more mime types. pull-requests welcome!
3838}
3939
4040_LICENSE_FNAME_BASE = ('licence' , 'license' )
You can’t perform that action at this time.
0 commit comments