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
Attach the file for which the detection is inaccurate
You can use the file sharing site of your choice, just ensure the file will not expire or get deleted.
Output of go version
go version go1.21.6 darwin/amd64
Additional context
Add any other context about the problem here.
with version v1.4.0 the mimetype was correctly detected as text/csv. Version 1.4.3 seems to break it even with mimetype.SetLimit(0)
Attach the file for which the detection is inaccurate
You can use the file sharing site of your choice, just ensure the file will not expire or get deleted.
sample.csv
Expected MIME type
text/csv
Returned MIME type
text/plain; charset=utf-8;
Version of the library you are using
v1.4.3
Output of
go version
go version go1.21.6 darwin/amd64
Additional context
Add any other context about the problem here.
with version v1.4.0 the mimetype was correctly detected as text/csv. Version 1.4.3 seems to break it even with
mimetype.SetLimit(0)
Alternatively, you can fork the project, commit the file with a failing test and reference the commit in the issue.
25f95acfe333721df1302387b3d87b29299af274
The text was updated successfully, but these errors were encountered: