Satyam Agarwal
06/08/2022, 10:45 AMAleksei Tirman [JB]
06/08/2022, 10:46 AMRustam Siniukov
06/08/2022, 10:52 AMcontent
is raw response and we want to discourage its usage. If you know what you do, just use @OptIn
, should be safe.Satyam Agarwal
06/08/2022, 10:56 AMRustam Siniukov
06/08/2022, 11:04 AMSatyam Agarwal
06/08/2022, 11:06 AMResponseObserver
class remains incomplete if one cannot observer complete response (meaning, reading the response body, and perhaps using it in the handler) ?Satyam Agarwal
06/08/2022, 11:07 AMSatyam Agarwal
06/08/2022, 11:09 AMResponseBodyReadyForSend
Hook ? (a server hook I know, but pointing it out as a feature)Rustam Siniukov
06/08/2022, 11:11 AM.bodyAsChannel()
Maybe we need to create an annotation similar to @DangerousApi
in coroutines, and use it here instead of @InternalApi
.Rustam Siniukov
06/08/2022, 11:12 AMResponseBodyReadyForSend
receives processed body with all the transformations applied, .content
is just bytes that we read from the networkSatyam Agarwal
06/09/2022, 6:11 AM.bodyAsChannel
is called, are there other transformations one can expect in HttpResponsePipeline ?Rustam Siniukov
06/09/2022, 11:19 AMSatyam Agarwal
06/09/2022, 5:47 PM