From: Hey You Date: 2007-04-08T05:53:26+09:00 Subject: Re: Trying to GET google with socket....problem Michael Gorsuch wrote: > I just ran this code in irb, and it worked without issue. > > Can you provide the specific exception or unexpected results? Well I just ran the code and got this: HTTP/1.0 302 Found Location: http://www.google.ca/index.html Cache-Control: private Set-Cookie: PREF=ID=e20f9edec5958042:TM=1175979001:LM=1175979001:S=shwmC1m6Amdg20nV; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com Content-Type: text/html Server: GWS/2.1 Content-Length: 228 Date: Sat, 07 Apr 2007 20:50:01 GMT Connection: Keep-Alive 302 Moved

302 Moved

The document has moved here. Also I would like to stick to using sockets instead of other HTTP clients :). -- Posted via http://www.ruby-forum.com/.