From: Minero Aoki Date: 2001-03-13T14:55:58+09:00 Subject: [ruby-talk:12545] Re: net/http get parameters Hi, In mail "[ruby-talk:12501] net/http get parameters" Ron Jeffries wrote: > I was looking for how to do access to passworded pages with http.get, > and found a reference here. Thanks! The code looks like: > Now I have a meta-question: where could this kind of thing be looked > up? should be included in RD (of net/http). I add some code there. FYI, from ruby 1.7 you can write basic auth like this: req = Net::HTTP::Get.new(path) req.basic_auth account, password http.request req Minero Aoki