Skip to content

Conversation

@tushar73-jet
Copy link

This change fixes an issue where utils.setCharset would incorrectly convert the content type to lowercase when adding a charset.

This PR preserves the original case of the content type, as discussed in the issue. It also includes a new test case to verify this behaviour.

Fixes #6613

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.

setCharset function does not preserve case of original Content-Type

1 participant