Better formatting

This commit is contained in:
Trustin Lee 2009-03-10 07:54:02 +00:00
parent a5ebbfb111
commit 94544193bd

View File

@ -71,8 +71,10 @@ public class HttpResponseHandler extends SimpleChannelHandler {
HttpChunk chunk = (HttpChunk) e.getMessage(); HttpChunk chunk = (HttpChunk) e.getMessage();
if (chunk.isLast()) { if (chunk.isLast()) {
readingChunks = false; readingChunks = false;
System.out.println();
} else { } else {
System.out.println(chunk.getContent().toString("UTF-8")); System.out.print(chunk.getContent().toString("UTF-8"));
System.out.flush();
} }
} }
} }