From: tamouse mailing lists Date: 2013-01-13T01:34:04+09:00 Subject: Re: question about sockets On Sat, Jan 12, 2013 at 8:19 AM, Ophir O. wrote: > another thing - can i post all of the headers 1-6 in one header ? headers = [] headers << "HTTP/1.1 200 OK" headers << "Fri 11 Jan 2013 13:13:13 GMT" headers << "Server: Microsoft-IIS/6.0" headers << "Vary: Accept-Encoding" headers << "Connection: close" headers << "Content-Type: text/html; charset=iso-8859-1" headers << "Location: www.fuckyou.com/" headers << "" ... client.write headers.join("\r\n")