Quoting Dave Thomas <dave / pragprog.com>:

> 
> On Jan 12, 2004, at 14:16, Gregory Millam wrote:
> 
> > Received: Tue, 13 Jan 2004 05:03:07 +0900
> > And lo Dave wrote:
> >
> >>
> >> require 'net/https'
> >> site = Net::HTTP.new(HOST, PORT)
> >> site.use_ssl = true
> >> http_resp, = site.get2(SCRIPT + arg,
> >>                          'Authorization' => 'Basic ' +
> >>                          ["xxxx:yyyy"].pack('m').strip )
> >
> > is PORT set to the correct https port? (443)

Don't worry, Dave--it sounds like a design defect that's pretty easy to forget.
Anyone know why the HTTPS class doesn't provide its own new() with 443 as the
default value of 'port'?

-- 
jason

:wq
___________________________________________________________
This mail sent using ToadMail -- Web based e-mail @ ToadNet