Updated MIME type handling to accommodate the new application/yaml type as specified in RFC9512.
Changed application/x-yaml and text/x-yaml to application/yaml.
Changed text/xml to application/xml in accordance with the recommendations of RFC5323.
These changes ensure that Pode is compliant with the latest MIME type standards and improves compatibility with applications that rely on these MIME types.
Changes:
Added support for application/yaml.
Replaced all instances of application/x-yaml and text/x-yaml with application/yaml.
Replaced all instances of text/xml with application/xml.
Details:
application/yaml
type as specified in RFC9512.application/x-yaml
andtext/x-yaml
toapplication/yaml
.text/xml
toapplication/xml
in accordance with the recommendations of RFC5323.These changes ensure that Pode is compliant with the latest MIME type standards and improves compatibility with applications that rely on these MIME types.
Changes:
application/yaml
.application/x-yaml
andtext/x-yaml
withapplication/yaml
.text/xml
withapplication/xml
.