Skip to content

Commit 74bd9a9

Browse files
committed
Improver file upload web server response format
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent a7c89ef commit 74bd9a9

File tree

1 file changed

+1
-1
lines changed
  • web-examples/src/main/java/io/vertx/example/web/upload

1 file changed

+1
-1
lines changed

web-examples/src/main/java/io/vertx/example/web/upload/Server.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public Future<?> start() throws Exception {
4545
ctx.response().setChunked(true);
4646

4747
for (FileUpload f : ctx.fileUploads()) {
48-
System.out.println("f");
4948
ctx.response().write("Filename: " + f.fileName());
5049
ctx.response().write("\n");
5150
ctx.response().write("Size: " + f.size());
51+
ctx.response().write("\n");
5252
}
5353

5454
ctx.response().end();

0 commit comments

Comments
 (0)