-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed as duplicate of#69530
Closed as duplicate of#69530
Copy link
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
Go version
go version go1.23.0 windows/amd64
Output of go env in your module/workspace:
DNAWhat did you do?
DNA
What did you see happen?
mime/type.go uses ".xml": "text/xml; charset=utf-8", for builtinTypes
What did you expect to see?
RFC 7303, Section 4.1 states:
this specification alters the
handling of character encoding of text/xml and text/xml-external-
parsed-entity, treating them no differently from the respective
application/ types. However, application/xml and application/xml-
external-parsed-entity are still RECOMMENDED, to avoid possible
confusion based on the earlier distinction.
So, following the recommendatio, in mime/type.go builtinTypesLower should say:
".xml": "application/xml; charset=utf-8", Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.