Add tests for SSL and and trial versions
This commit is contained in:
parent
3707af1488
commit
ab70e6f11d
11 changed files with 257 additions and 9 deletions
|
|
@ -22,6 +22,7 @@ def curl_json(uri, username=nil, password=nil)
|
|||
res = Net::HTTP.start(
|
||||
uri.hostname,
|
||||
uri.port,
|
||||
:use_ssl => uri.scheme == 'https',
|
||||
:verify_mode => OpenSSL::SSL::VERIFY_NONE
|
||||
) {|http|
|
||||
http.request(req)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue