N
Nicholas Van Weerdenburg
In Ruby 1.8.2. should Net::Http work with ssl on Windows?
site =3D Net::HTTP.new( host, port )
site.use_ssl =3D use_ssl
auth=3D["#{@user}:#{@password}"].pack('m').strip
response, data =3D site.get2( page, 'Authorization' =3D> 'Basic ' +=
auth)
I can a response.code of 500. Everything works on the same site on the
non-ssl page.
Calling response.error! gives
c:/ruby/lib/ruby/1.8/net/http.rb:1629:in `error!': 500 "" (Net::HTTPFatalEr=
ror)
Using wget on the same page works fine.
Thanks,
Nick
--=20
Nicholas Van Weerdenburg
site =3D Net::HTTP.new( host, port )
site.use_ssl =3D use_ssl
auth=3D["#{@user}:#{@password}"].pack('m').strip
response, data =3D site.get2( page, 'Authorization' =3D> 'Basic ' +=
auth)
I can a response.code of 500. Everything works on the same site on the
non-ssl page.
Calling response.error! gives
c:/ruby/lib/ruby/1.8/net/http.rb:1629:in `error!': 500 "" (Net::HTTPFatalEr=
ror)
Using wget on the same page works fine.
Thanks,
Nick
--=20
Nicholas Van Weerdenburg