lib/httpx/channel.rb in httpx-0.2.0 vs lib/httpx/channel.rb in httpx-0.2.1
- old
+ new
@@ -45,10 +45,10 @@
type = options.transport || begin
case uri.scheme
when "http" then "tcp"
when "https" then "ssl"
else
- raise Error, "#{uri}: #{uri.scheme}: unrecognized channel"
+ raise Error, "#{uri}: #{uri.scheme}: unsupported URI scheme"
end
end
new(type, uri, options)
end
end