Parsing HTTP Responses
char* endOfHeader = strstr(buf, "\n\r\n");
Notice the \r, that is a carriage return, something that Linux/unix doesn't care much about, but is used more in Windows. I couldn't find any websites to help with this.
char* endOfHeader = strstr(buf, "\n\r\n");
Leave a comment