The following code statement works properly, I am expecting it does not work properly since "GET /index.html HTTP/1.0\n\n"
text has to be send first then other parameters have to be send in correct scenario.
Is there any streaming reverse order policy? However I invoke flush at each write operation?
private DataOutputStream output;
output.write("Host: 10.254.55.27".getBytes());
output.write("\r\n".getBytes());
output.flush();
output.write("Authorization: Basic YWRtaW46TmV0YXMxMjM=".getBytes());
output.write("\r\n".getBytes());
output.flush();
output.write("GET /index.html HTTP/1.0\n\n".getBytes());