Closed n-dusan closed 1 year ago
Documents with dots in their names aren't getting resolved correctly in get_contenttype utils function. An example would be 10.04.040, which should get resolved to an html mime-type, but defaults to application/octet-stream by actix-files crate.
get_contenttype
10.04.040
html
application/octet-stream
actix-files
Documents with dots in their names aren't getting resolved correctly in
get_contenttype
utils function. An example would be10.04.040
, which should get resolved to anhtml
mime-type, but defaults toapplication/octet-stream
byactix-files
crate.