You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the behaviour is different for this case, I am thinking that the decoding of the body should be applied only when responses are 2xx that would fix this issue
more thoughts about this: since expecting is a construct that operates at the future level and not the http request/response api level, there is no way we can have the decoding happening after the expectation.
Instead the Future.map operator should be used, so the code would actually be like:
Switching to new web client expectation ( #2607 ) occurre bug when body codec response is set.
Response is decoded prior to check expecting and result to a DecodedException
Version
Vertx 4.5.8
Do you have a reproducer?
same with JsonObject vs JsonArray, etc ..
The text was updated successfully, but these errors were encountered: