rubiii/savon — Issue #236: https URLs throw "Invalid URL:  (ArgumentError)"
Author: mika
Created: 2011-10-26 17:42:16+00:00
State: open

Hi!

What I've got is:

````
require "savon"
client = Savon::Client.new "https://192.168.51.111:2443/SOAP/Provisioning.wsdl"
puts client.request :get_domain_preferences
````

This results in the following error:

````
D, [2011-10-26T19:35:41.037376 #15619] DEBUG -- : HTTPI executes HTTP GET using the net_http adapter
warning: peer certificate won't be verified in this SSL session
/var/lib/gems/1.8/gems/httpi-0.9.5/lib/httpi/request.rb:85:in `normalize_url!': Invalid URL: (ArgumentError)
from /var/lib/gems/1.8/gems/httpi-0.9.5/lib/httpi/request.rb:26:in `url='
from /var/lib/gems/1.8/gems/savon-0.9.7/lib/savon/soap/request.rb:40:in `setup'
from /var/lib/gems/1.8/gems/savon-0.9.7/lib/savon/soap/request.rb:23:in `initialize'
from /var/lib/gems/1.8/gems/savon-0.9.7/lib/savon/client.rb:79:in `new'
from /var/lib/gems/1.8/gems/savon-0.9.7/lib/savon/client.rb:79:in `request'
from foo.rb:10
````

Would be great if savon could support https URLs (or provide a way how to get it working with net_http/httpi).

Thanks!

regards,
-mika-