From: i3iqk2ta.y3p@20mm.eu Date: 2018-01-27T14:52:53+00:00 Subject: [ruby-core:85156] [Ruby trunk Feature#14411] URI#secure? Issue #14411 has been reported by artur86 (test test). ---------------------------------------- Feature #14411: URI#secure? https://bugs.ruby-lang.org/issues/14411 * Author: artur86 (test test) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- I wonder if some predicate method 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 -- https://bugs.ruby-lang.org/ Unsubscribe: