Skip to content

Conversation

@MiaowFISH
Copy link
Contributor

Resolve #260

Handle content-type headers with parameters like 'application/json; charset=utf-8' by extracting the main content type before matching.

This change extracts the main content type before matching, making the parser selection more flexible while maintaining backward compatibility.

Copy link
Member

@ryanking13 ryanking13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! could you please update the changelog?

@MiaowFISH
Copy link
Contributor Author

okay, updated

@ryanking13 ryanking13 merged commit 2febfab into pyodide:main Oct 31, 2025
2 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.

Bug: Error trying to decode index url from mirrors that include charset in Content-Type header

2 participants