I happen to be writing a very simple text browser, and I'm having a problem connecting to servers using HTTP1.1 GET messages... HTTP1.0 works fine, I just have a string like this:
const char *request = "GET / HTTP/1.0\n\n";
This works great, and I receive my html back from the host just fine. But when I change it to a HTTP1.1 request, I get nothing back...
// Assuming that I'm connecting to google...
const char *request = "GET / HTTP/1.1\nHost: www.google.com\n"
Any ideas as to why I'm not getting anything back from the server?
-Fredric