When I send a normal HTTP request via a socket, the server does not respond with an OK response. I copied the HTTP header from Firefox. Here is the code:
Soc
Two things:
println
print
pw.println("");