I am having trouble understanding why my HTTP request is not working properly. Basically, I connect to a server on port 80, and send the following request:
"GET / HTTP/1.1\r\n"
and then I get nothing. However, if I send the erroneous request:
I get the expected response "HTTP/1.1 400 Bad Request ..."
Am I missing something? I have tried various combinations of extra request headers with no luck. Pointers/tips/useful websites are all appreciated!!
Thanks in advance to any expert!