Issues on Net:HTTP

in cotroller:
@url=URI.parse(‘Google’)
@res = Net::HTTP.get_response(@clarifyurl)
in view: %[email protected]

this page displayed as
301 Moved
The document has moved here

what’s wrong with my code, I want to get the correct reponse HTML
content from google.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

lily wrote:
| in cotroller:
| @url=URI.parse(‘Google’)
| @res = Net::HTTP.get_response(@clarifyurl)
| in view: %[email protected]
|
| this page displayed as
| 301 Moved
| The document has moved here
|
|
| what’s wrong with my code, I want to get the correct reponse HTML
| content from google.

http://www.w3.org/Protocols/rfc2616/rfc2616.html


Phillip G.
Twitter: twitter.com/cynicalryan

~ “Mom and dad say I should make my life an example of the principles
I
~ believe in. But every time I do, they tell me to stop it.”
~ — Calvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf/h/8ACgkQbtAgaoJTgL9AoACeICBI5tkHlyjvqeDE/2xzK1ed
Gg8An1T6KsUARtlNTKIgH+xRgkJpdbXg
=aURk
-----END PGP SIGNATURE-----

??
No one answer me?

On Apr 11, 11:47 pm, Phillip G. [email protected]