lib/httpi/adapter/httpclient.rb in httpi-2.4.4 vs lib/httpi/adapter/httpclient.rb in httpi-2.4.5

- old
+ new

@@ -76,9 +76,12 @@ @client.ssl_config.verify_mode = ssl.openssl_verify_mode end @client.ssl_config.ssl_version = ssl.ssl_version.to_s if ssl.ssl_version + if ssl.min_version || ssl.max_version + raise NotSupportedError, 'Httpclient adapter does not support #min_version or #max_version. Please, use #ssl_version instead' + end end def respond_with(response) headers = {} response.header.all.each do |(header, value)|