Skip to content

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

Merged
rylnd merged 2 commits intoelastic:7.xfrom
rylnd:backport/7.x/pr-56772
Feb 5, 2020
Merged

[7.x] Prevent http client from converting our form data (#56772)#56792
rylnd merged 2 commits intoelastic:7.xfrom
rylnd:backport/7.x/pr-56772

Conversation

@rylnd
Copy link
Copy Markdown
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 This PR is a backport of another PR label Feb 4, 2020
@rylnd
Copy link
Copy Markdown
Contributor Author

rylnd commented Feb 4, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants