Repository navigation
Commit c0f14e3
committed
feat(document): register the Box Note mime type
DocumentOrigin rejects application/vnd.box.boxnote because it isn't in
Python's mimetypes registry, so the Box Note backend in docling
(docling-project/docling#3722) falls back to application/json. This
registers it in _extra_mimetypes so the backend can use the correct mime.
The list is also sorted alphabetically now.
Signed-off-by: pablopupo <145598901+pablopupo@users.noreply.github.com>1 parent cf8648b commit c0f14e3
1 file changed
Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1081 | 1081 | | |
| 1082 | + | |
| 1083 | + | |
1082 | 1084 | | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
1086 | 1090 | | |
1087 | | - | |
1088 | 1091 | | |
| 1092 | + | |
1089 | 1093 | | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | 1094 | | |
1094 | 1095 | | |
1095 | 1096 | | |
| |||
0 commit comments