Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

improve xml mime type description #38539

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ryohiy
Copy link

@ryohiy ryohiy commented Mar 9, 2025

Description

improve xml mime type description

Motivation

I created this PR because I was concerned that the previous description might spread a misunderstanding about RFC 7303.

Before this change, the description of XML MIME types gave the impression that RFC 7303 recommends using application/xml over text/xml and that text/xml is deprecated. However, after reviewing RFC 7303, I found that it explicitly standardizes text/xml and does not include any wording that suggests preferring application/xml. Instead, the document emphasizes the difference in MIME types (text/xml vs. application/xml) and suggests choosing between them based on the use case. Given this, I propose this revision to better align with the actual intent of RFC 7303.

Additional details

https://datatracker.ietf.org/doc/html/rfc7303

Related issues and pull requests

@ryohiy ryohiy requested a review from a team as a code owner March 9, 2025 03:21
@ryohiy ryohiy requested review from bsmth and removed request for a team March 9, 2025 03:21
@github-actions github-actions bot added Content:HTTP HTTP docs size/m [PR only] 51-500 LoC changed labels Mar 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Content:HTTP HTTP docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant