Skip to content

Remove charset on json content-type#105

Merged
l0gicgate merged 2 commits into
slimphp:masterfrom
odan:patch-1
Nov 15, 2019
Merged

Remove charset on json content-type#105
l0gicgate merged 2 commits into
slimphp:masterfrom
odan:patch-1

Conversation

@odan

@odan odan commented Nov 15, 2019

Copy link
Copy Markdown
Contributor

Instead of application/json; charset=utf-8, we should simply return application/json without the ; charset=utf-8 suffix.

More details: slimphp/Slim#2629

@l0gicgate l0gicgate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Need to fix the tests please

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 85918cb on odan:patch-1 into 433f865 on slimphp:master.

@odan

odan commented Nov 15, 2019

Copy link
Copy Markdown
Contributor Author

Fixed tests.

@l0gicgate l0gicgate added this to the 0.9 milestone Nov 15, 2019
@l0gicgate l0gicgate merged commit 13e7b70 into slimphp:master Nov 15, 2019
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.

3 participants