tustvold commented on code in PR #383: URL: https://github.com/apache/arrow-rs-object-store/pull/383#discussion_r2107713316
########## src/client/http/body.rs: ########## @@ -213,6 +213,14 @@ impl Body for HttpResponseBody { ) -> Poll<Option<Result<Frame<Self::Data>, Self::Error>>> { Pin::new(&mut self.0).poll_frame(cx) } + + fn is_end_stream(&self) -> bool { + self.0.is_end_stream() + } + + fn size_hint(&self) -> SizeHint { + self.0.size_hint() + } Review Comment: This is more correct, and without this the HttpServer won't populate the ContentLength header (as it uses the size hint to do this) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org