Feature #14411
Updated by artur86 (Artur *) almost 7 years ago
I wonder if some predicate method methoe (say #secure?) could be added to URI::Generic class. Currently the only way to query if uri is secure is: ~~~ ruby uri.instance_of?(URI::HTTPS) ~~~ Inspired by this question: https://stackoverflow.com/questions/2212735/ruby-checking-if-uri-is-https