HTML is not that picky about line endings (most of the time), but HTTP is:
"HTTP/1.1 200 OK\r\n"
"Content-Type: text/html\r\n"
"\r\n"
"<HTML>..."
Note the empty line after the header lines before the HTML payload.
HTML is not that picky about line endings (most of the time), but HTTP is:
"HTTP/1.1 200 OK\r\n"
"Content-Type: text/html\r\n"
"\r\n"
"<HTML>..."
Note the empty line after the header lines before the HTML payload.