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

Deprecate requests that have an unconsumed body #37534

Merged

Commits on Jan 16, 2019

  1. Reject all requests that have an unconsumed body (elastic#37504)

    This commit removes some leniency from REST handling where we move to
    reject all requests that have a body where the body is not used during
    the course of handling the request. For example,
    
    DELETE /index
    {
      "query" : {
        "term" :  {
          "field" : "value"
        }
      }
    }
    
    is now rejected.
    jasontedor committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    4c2e350 View commit details
    Browse the repository at this point in the history
  2. Fix NPE

    jasontedor committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    f308a40 View commit details
    Browse the repository at this point in the history
  3. Deprecate instead

    jasontedor committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    a22bf0d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b272b7 View commit details
    Browse the repository at this point in the history