AsyncHttpClient5: LogbookHttpAsyncResponseConsumer - how to logbook response body? #1831
Unanswered
maistrovyi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, my question is how to logbook response body using
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClientwithorg.zalando.logbook.httpclient5.LogbookHttpAsyncResponseConsumer, in my caseEntityDetailsin org.zalando.logbook.httpclient5.LogbookHttpAsyncResponseConsumer#consumeResponse contains ContentLength=-1, so as a result logbook stage unable to process response body.NB: in response I don't have
Content-Lengthheader butTransfer-Encoding: chunkedis present.Beta Was this translation helpful? Give feedback.
All reactions