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
-
Hey guys, my question is how to logbook response body using
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient
withorg.zalando.logbook.httpclient5.LogbookHttpAsyncResponseConsumer
, in my caseEntityDetails
in 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-Length
header butTransfer-Encoding: chunked
is present.Beta Was this translation helpful? Give feedback.
All reactions