mime: builtinTypes ".xml" defaults to "text/xml" instead of "application/xml" #69531
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.23.0 windows/amd64
Output of
go env
in your module/workspace:What did you do?
DNA
What did you see happen?
mime/type.go uses
".xml": "text/xml; charset=utf-8",
for builtinTypesWhat did you expect to see?
RFC 7303, Section 4.1 states:
So, following the recommendatio, in mime/type.go builtinTypesLower should say:
The text was updated successfully, but these errors were encountered: