lib/httpx/session.rb in httpx-0.18.3 vs lib/httpx/session.rb in httpx-0.18.4
- old
+ new
@@ -161,10 +161,10 @@
def build_connection(uri, options)
type = options.transport || begin
case uri.scheme
when "http"
"tcp"
- when "https", "h2"
+ when "https"
"ssl"
else
raise UnsupportedSchemeError, "#{uri}: #{uri.scheme}: unsupported URI scheme"
end
end