Skip to content

Favor POST method if GET and POST are available #259

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

Merged

Conversation

Anaethelion
Copy link
Contributor

Whenever an endpoint has both GET and POST method available
favor the POST method to avoid leaking goroutine as documented in #250.

This change impacts the following APIs :

  • EqlSearch
  • GraphExplore
  • IndicesReloadSearchAnalyzers
  • MLGetBuckets
  • MLGetCalendars
  • MLGetCategories
  • MLGetInfluencers
  • MLGetModelSnapshots
  • MLGetOverallBuckets
  • MLGetRecords
  • MLPreviewDatafeed
  • RollupRollupSearch
  • SecurityHasPrivileges
  • WatcherQueryWatches

@Anaethelion Anaethelion merged commit 96e359f into elastic:master Apr 27, 2021
@Anaethelion Anaethelion deleted the prefer_post_method_when_available branch April 27, 2021 09:28
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.

1 participant