We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attach the file for which the detection is inaccurate https://www.grosfichiers.com/bLp8VUdxbiN
Expected MIME type text/xml; charset=utf-8 and .xml
text/xml; charset=utf-8
.xml
Returned MIME type text/plain; charset=utf-8 and .txt
text/plain; charset=utf-8
.txt
Version of the library you are using github.com/gabriel-vasile/mimetype v1.4.0 v1.4.0
github.com/gabriel-vasile/mimetype v1.4.0
v1.4.0
Output of go version go version go1.17.6 linux/amd64
go version
go version go1.17.6 linux/amd64
Additional context Bad detection of XML when it has a doctype and not the tag
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Attach the file for which the detection is inaccurate
https://www.grosfichiers.com/bLp8VUdxbiN
Expected MIME type
text/xml; charset=utf-8
and.xml
Returned MIME type
text/plain; charset=utf-8
and.txt
Version of the library you are using
github.com/gabriel-vasile/mimetype v1.4.0
v1.4.0
Output of
go version
go version go1.17.6 linux/amd64
Additional context
Bad detection of XML when it has a doctype and not the tag
The text was updated successfully, but these errors were encountered: