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

Add ;charset=utf-8 to POST/PUT JSON requests #239

Merged
merged 3 commits into from
Feb 25, 2020
Merged

Add ;charset=utf-8 to POST/PUT JSON requests #239

merged 3 commits into from
Feb 25, 2020

Conversation

MichelZ
Copy link
Contributor

@MichelZ MichelZ commented Feb 20, 2020

PR Summary

Fixes #234
Fixes #221

PR Checklist

@MichelZ
Copy link
Contributor Author

MichelZ commented Feb 20, 2020

I'm not 100% sure if this is the right way to go.
We are kinda assuming here all input is UTF-8 by default.

Can we live with that?

@MichelZ MichelZ mentioned this pull request Feb 20, 2020
7 tasks
@MichelZ
Copy link
Contributor Author

MichelZ commented Feb 20, 2020

Fixes #221

Copy link
Collaborator

@SebastianSchuetze SebastianSchuetze left a comment

Choose a reason for hiding this comment

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

Looks very fine to me. @DarqueWarrior and @MichelZ if the charset is that important, we might want to add a note in the contribution guidelines to always use UTF8 charsets! Or we might even consider to only allow this charset with the call.

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.

ContentType should be: 'application/json;charset=utf-8' Update-VSTeamRelease fails
3 participants