From: tamouse mailing lists Date: 2013-01-13T11:16:28+09:00 Subject: Re: question about sockets On Sat, Jan 12, 2013 at 11:00 AM, Jeremy Bopp wrote: > More specifically, "\r\n" denotes a carriage return line feed pair, > sometimes referred to as CRLF. You should find quite a bit in a Google > search for those terms. > > Also, a correction. Unix uses just the line feed character (LF or "\n"), not > the carriage return character (CR or "\r"). Other systems may use other > combinations. :-) Of particular importance to OP, HTTP protocol dictates that the header lines be separated with CRLF ("\r\n"). Other protocols do as well. That said, many servers are forgiving and will accept CR, LF, and CRLF. Postel set the tone in TCP with "send only what is correct, be forgiving in what you accept".