Rest client deletes body content #4153
Unanswered
francescobande
asked this question in
Q&A
Replies: 1 comment
-
What version of RESTEasy are you using? The body/content is set further up in You could potentially be seeing the result of https://issues.redhat.com/browse/RESTEASY-2825. However, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using resteasy-client to consume our API.
We observed this behaviour: if our API returns an error status with a body, the latter is present when I call directly the API (e.g. by using curl or swagger-ui), but it is not present when I consume it using your client.
By debugging your library, I noticed that the below mentioned code does not take the response's entity into consideration.
resteasy/resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/engines/ManualClosingApacheHttpClient43Engine.java
Lines 448 to 453 in d8d9245
I was wondering if this had been done on purpose or, if that is not the case, it might be added.
Beta Was this translation helpful? Give feedback.
All reactions