From: Xavier Noria Date: 2007-04-09T04:16:52+09:00 Subject: Re: Trying to GET google with socket....problem On Apr 8, 2007, at 5:57 PM, Hey You wrote: > Have you read what I last posted? Or did you just ignore it and > gave me > the answer to a already answered question? Yes I have read RFC2616 > more > than once and I do understand a lot of it but not all stays on my head > in the few times I read the document. I don't know but I have read > in a > lot of places that for a line terminator you can also use "\n\n" > and it > seems to work fine. Perhaps you read that in a CGI context? "The server MUST translate the header data from the CGI header field syntax to the HTTP header field syntax if these differ. For example, the character sequence for newline (such as Unix's ASCII NL) used by CGI scripts may not be the same as that used by HTTP (ASCII CR followed by LF)." That's what allows CGIs to ouput things like print "Content-Type: text/plain\n\n" and forget about CRLFs. -- fxn