-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
DefaultResponseSpec decodes the body via methods on ExchangeResult that in turn delegate to the client response, and then creates an EntityExchangeResult with the decoded body. However, the methods on ExchangeResult are public can be called again even though the body can only be consumed once.
ExchangeResult needs to be updated to not expose any public getBody methods, which should only ever be done through the subclass EntityExchangeResult.
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug