Skip to content

feat: Add a mime::APPLICATION_XML constant#167

Open
CosmicHorrorDev wants to merge 1 commit into
hyperium:masterfrom
CosmicHorrorDev:application-xml
Open

feat: Add a mime::APPLICATION_XML constant#167
CosmicHorrorDev wants to merge 1 commit into
hyperium:masterfrom
CosmicHorrorDev:application-xml

Conversation

@CosmicHorrorDev

Copy link
Copy Markdown

There's already TEXT_XML, so adding APPLICATION_XML seems fitting considering that it's recommended over text/xml. Per RFC 7303 Section 4.1

Compared to [RFC2376] or [RFC3023], 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. The former confusion around ...


Found after opening, but this looks identical to (closed by author) #127

@mrhrzg

mrhrzg commented Oct 7, 2025

Copy link
Copy Markdown

I strongly second this. Please merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants