Consistent error handling when streaming with servlet vs reactive stack [SPR-17440] #21972
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Michal Domagala opened SPR-17440 and commented
Consider the following code:
In reactive stack initial exception has special treatment: class
ChannelSendOperator
has special state NEW: /** No emissions from the upstream source yet. */Due special treatment http response status for
/1
is 400 and for/2
is 200In servlet stack http response status for both endpoints is 200
Nice to have consistent implementation. Reactive stack way is correct one.
Affects: 5.0.10
Reference URL: https://stackoverflow.com/questions/53013088/how-to-peep-if-flux-has-exception
The text was updated successfully, but these errors were encountered: