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

Apiserver does not handle patch requests when Content-Type includes charset #14872

Closed
derekparker opened this issue Sep 30, 2015 · 0 comments
Closed

Comments

@derekparker
Copy link
Contributor

Given a request with a Content-Type header set to application/merge-patch+json; charset=UTF-8, the server will respond with an error because it does not exactly match the existing PatchType strings.

Some browsers (Firefox, see: https://bugzilla.mozilla.org/show_bug.cgi?id=416178) will automatically add ; charset=<val> to a Content-Type header when making an XHR request.

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

No branches or pull requests

2 participants