wget: flush output to network before receving reply

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
diff --git a/networking/wget.c b/networking/wget.c
index 88bb09e..4521abf 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -737,6 +737,8 @@
 			fprintf(sfp, /* "Connection: close\r\n" */ "\r\n");
 		}
 
+		fflush(sfp);
+
 		/*
 		 * Retrieve HTTP response line and check for "200" status code.
 		 */