method
check_headers
check_headers(v)
private
Hide source
# File lib/uri/mailto.rb, line 182 def check_headers(v) return true unless v return true if v.size == 0 if OPAQUE !~ v || /\A(#{HEADER_PATTERN}(?:\&#{HEADER_PATTERN})*)\z/o !~ v raise InvalidComponentError, "bad component(expected opaque component): #{v}" end return true end