onStatus throws away default status handler #23155
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Affects: 5.2.0.M3
Description
Using webflux
WebClient
i want to override behavior if service returns 404 http code. Documentation says to useonStatus
but there is no warning that it will throw away the default handler and i will lose default behavior on 5xx/4xx statuses.Is it supposed to be like that? If i override one status i must provide handler for other error statuses?
The text was updated successfully, but these errors were encountered: