FileTypeRouter
should get mime type from ByteStream
mime type attribute instead of `meta
#7633
Closed
1 task done
Labels
P1
High priority, add to the next sprint
Describe the bug
Looking at this code here:
The
ByteStream
class has an attributemime_type
. We should rather using this than using the metadata for this.Error message
None
Expected behavior
Use
mime_type
field instead of meta (or make this configurable)Additional context
Add any other context about the problem here, like document types / preprocessing steps / settings of reader etc.
To Reproduce
Steps to reproduce the behavior
FAQ Check
System:
The text was updated successfully, but these errors were encountered: