You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use finfo buffer instead of mime_content_type on streams
Avoids copying the whole file to disk for mime detection.
Reads only the first 4096 bytes into a buffer and uses
finfo::buffer() to detect the mime type, which does not
require stream_cast() support.
Addresses maintainer feedback on #592.
Signed-off-by: Simon Holzman <simon.holzman@verizon.net>
0 commit comments