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
Hello,
So.. this issue is not solved. Content type is detected incorrectly.
At least a word of comment in the documentation that this method is not reliable and may not work as expected?
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Get some svg document (e.g. create new one with Inkscape), save it as example.svg
What did you expect to see?
image/svg+xml; charset=utf-8
What did you see instead?
text/xml; charset=utf-8
Standalone SVG documents aren't properly recognized.
https://www.w3.org/TR/SVG2/conform.html#DocumentConformanceClasses
Example of SVG document
The text was updated successfully, but these errors were encountered: