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

[7.x] Prevent http client from converting our form data (#56772) #56792

Merged
merged 2 commits into from
Feb 5, 2020

Conversation

rylnd
Copy link
Contributor

@rylnd rylnd commented Feb 4, 2020

Backports the following commits to 7.x:

If we don't specify an undefined content-type like so, the client
attempts to convert our form data into a JSON string, and the backend
returns an understandable 415.

This fixes rule imports.
@rylnd rylnd added the backport label Feb 4, 2020
@rylnd
Copy link
Contributor Author

rylnd commented Feb 4, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@rylnd rylnd merged commit e23b586 into elastic:7.x Feb 5, 2020
@rylnd rylnd deleted the backport/7.x/pr-56772 branch February 5, 2020 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants