accept_uri_http (Gem::LocalRemoteOptions)

    # File lib/rubygems/local_remote_options.rb, line 13
      def accept_uri_http
        OptionParser.accept URI::HTTP do |value|
          begin
            value = URI.parse value
          rescue URI::InvalidURIError
            raise OptionParser::InvalidArgument, value
          end

          raise OptionParser::InvalidArgument, value unless value.scheme == 'http'

          value
        end
      end