Browse Source
Prior to this commit, the `HttpEntityMethodProcessor` would create a new `ServletServerHttpRequest` input message to parse the native Servlet request, but would not reuse it for reading the request body using the message converters. In gh-32471, we applied a change that updates HTTP headers accordingly when request parameters are read. But not reusing the input message means that we are losing this update when instantiating the resulting `HttpEntity`. This commit ensures that `HttpEntityMethodProcessor` uses the input message it just created when decoding the request body. Fixes gh-36298pull/36325/head
2 changed files with 25 additions and 1 deletions
Loading…
Reference in new issue