From: Daemon Date: 2002-09-30T13:15:32+09:00 Subject: RE: SSL http client code in Ruby? Thanks. That worked. On Sun, 29 Sep 2002 07:50:27 -0700, SHULTZ,BARRY (HP-Israel,ex1) wrote: > Hi, > If you've installed the ossl module, you have one example in > net/https.rb. > To paraphrase it, > change clear http client code that looks like : > > require 'net/http' > > h = Net::HTTP.new(host,port) > h.get... # or h.post... > > to: > > require 'net/https' # ossl module > > h = Net::HTTP.new(host,port) > h.use_ssl = true > h.get... # or h.post... > > > You can find a few more examples in blade. Try searching on 'use_ssl' > there. > > HTH, > Barry