[Note: parts of this message were removed to make it a legal post.]
Didn't look closely enough at what's going on here.
What exactly are you trying to do? The previous response should work.
However, if you are actually requesting a page from something like Google
Docs, you need to realize that the request will be made at the server, not
in the browser, so your cookies will not be in the request, so you will not
be authenticated unless you explicitly do that. It is more trouble than it's
worth in most cases.
Additionally, unless you intend to alter the HTML in some way before
including it in the page, it will look all off, so probably best to stick
with iFrames unless it is absolutely necessary to scrape (which is what you
are doing)
-chris
You should use something like
require 'open-uri'
puts open('
http://some-url.com/file').read
or the curl libraries.
Chris Rhoden
Chief Developer - (ph)Pea
Co-Founder - Invalid Media