-
Dear all, I would like to ask you whether it is possible to validate response data and change the response code depending on data validation. something like
but this is not changed the response code. If I changed the response code before returning AbstractStream() than the code was changed successfully. Thank you Regards Jan |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
I think the only way is to raise IO Exception. This is not 100% what we want but it is work. |
Beta Was this translation helpful? Give feedback.
Hi Jan,
Oh, that's an interesting one.
Some possibilities worth exploring:
Apiman-based:
Exception/error-based
Body
Trailer