Can't wrap a ClientResponse with a custom status code in a builder #23366
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
When using Spring WebFlux 5.1.8.RELEASE consider having the following code
when
response
contains a custom status code e.g.499
theDefaultClientResponseBuilder
in the constructor usesstatusCode(other.statusCode());
andstatusCode()
throws an exception since it's a custom status code.The text was updated successfully, but these errors were encountered: