On 5/18/06, Dor Kalev <dor / octava.co.il> wrote:
> Alex Young wrote:
> > Dor Kalev wrote:
> >> c:/instantrails/ruby/lib/ruby/gems/1.8/gems/mechanize-0.4.3/lib/mechanize.rb:183:in
> >> `to_absolute_uri'
> >> c:/instantrails/ruby/lib/ruby/gems/1.8/gems/mechanize-0.4.3/lib/mechanize.rb:114:in
> >> `get'
> >>
> > Where have you told it what host to look at?
>
> well, i didn't, where should I?
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
>

agent.get('http://google.com')
#=> #<WWW::Page:0x2de2ae8 ...

agent.get('/reader')
#=> #<WWW::Page:0x2de2ae8 ...

Otherwise, how would agnet know which host to get '/test.html' from?

-- 
-Alder