Re: Trying to GET google with socket....problem
- From: Hey You <r3madi@xxxxxxxxx>
- Date: Sun, 8 Apr 2007 05:53:26 +0900
Michael Gorsuch wrote:
I just ran this code in irb, and it worked without issue.Well I just ran the code and got this:
Can you provide the specific exception or unexpected results?
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
<HTML><HEAD><meta http-equiv="content-type"
content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.ca/index.html">here</A>.
</BODY></HTML>
Also I would like to stick to using sockets instead of other HTTP
clients :).
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- Re: Trying to GET google with socket....problem
- From: Michael Gorsuch
- Re: Trying to GET google with socket....problem
- References:
- Trying to GET google with socket....problem
- From: Hey You
- Re: Trying to GET google with socket....problem
- From: Michael Gorsuch
- Trying to GET google with socket....problem
- Prev by Date: Re: Trying to GET google with socket....problem
- Next by Date: Re: Question to all you newbies (others welcome)
- Previous by thread: Re: Trying to GET google with socket....problem
- Next by thread: Re: Trying to GET google with socket....problem
- Index(es):
Relevant Pages
|