From d73f4daa73a68e84cf8fcd3b4bcae00ae017f7fd Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Wed, 4 Apr 2018 15:17:52 +0300 Subject: [PATCH] #1 puzzle --- src/main/java/org/cactoos/http/HtBody.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/cactoos/http/HtBody.java b/src/main/java/org/cactoos/http/HtBody.java index aea1b1d..66f9e14 100644 --- a/src/main/java/org/cactoos/http/HtBody.java +++ b/src/main/java/org/cactoos/http/HtBody.java @@ -36,6 +36,12 @@ * @author Yegor Bugayenko (yegor256@gmail.com) * @version $Id$ * @since 0.1 + * @todo #1:30min The implementation of method stream() is less than + * effective, because it reads the entire content of the response, turning + * it into text and then splitting. What if the content is binary and + * can't be converted to string? What if the content is super big + * and must be presented as an stream, not a piece of text. Let's fix + * it. */ public final class HtBody implements Input {