Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: improve text/xml and application/xml content type handling #16

Merged
merged 7 commits into from
Feb 4, 2024

Conversation

shouya
Copy link
Owner

@shouya shouya commented Feb 4, 2024

Previously text/xml and application/xml are assumed to be rss feeds. In reality they could refer to either rss or atom feeds. This commit improves the content type handling to attempt to parse either feed types when the content type is text/xml or application/xml.

In addition, the Accept header of the outgoing requests is now set correctly according to the supported content types.

@shouya shouya merged commit 2b7c5fa into master Feb 4, 2024
2 checks passed
@shouya shouya deleted the fix-content-type-handling branch February 4, 2024 10:34
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.

1 participant