Skip to content

Added text/yml as a deprecate of application/xml - #4

Merged
fpgmaas merged 1 commit into
fpgmaas:mainfrom
Snowmagedden:feat/text-xml-alias
May 19, 2026
Merged

Added text/yml as a deprecate of application/xml#4
fpgmaas merged 1 commit into
fpgmaas:mainfrom
Snowmagedden:feat/text-xml-alias

Conversation

@Snowmagedden

Copy link
Copy Markdown
Collaborator

While text/xml and application/xml both use .xml and are different text/xml and both still relevant, text/xml could not be added as a standalone since .xml was already taken by application/xml.
Since application/xml is the more preferred type text/yml was added as a deprecate of application/xml for now.

Perhaps changes are necessary in the future.

Changes

Before:

try_parse(text/xml) -> None

After:

try_parse(text/xml) -> application/xml

@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.6%. Comparing base (2b6726e) to head (aa36509).

Additional details and impacted files
@@          Coverage Diff          @@
##            main      #4   +/-   ##
=====================================
  Coverage   98.6%   98.6%           
=====================================
  Files          3       3           
  Lines        741     741           
  Branches       7       7           
=====================================
  Hits         731     731           
  Misses         5       5           
  Partials       5       5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fpgmaas
fpgmaas merged commit d1cd1c3 into fpgmaas:main May 19, 2026
7 checks passed
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