Sha256: f0ccad29b07fb7dab6a8e6a343fb1b123b5849ac122e9b83d8b57ab6831684ab

Contents?: true

Size: 558 Bytes

Versions: 13

Compression:

Stored size: 558 Bytes

Contents

# frozen_string_literal: false
# = uri/https.rb
#
# Author:: Akira Yamada <akira@ruby-lang.org>
# License:: You can redistribute it and/or modify it under the same term as Ruby.
#
# See URI for general documentation
#

require_relative 'http'

module URI

  # The default port for HTTPS URIs is 443, and the scheme is 'https:' rather
  # than 'http:'. Other than that, HTTPS URIs are identical to HTTP URIs;
  # see URI::HTTP.
  class HTTPS < HTTP
    # A Default port of 443 for URI::HTTPS
    DEFAULT_PORT = 443
  end

  register_scheme 'HTTPS', HTTPS
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
es_cli-0.1.0 vendor/bundle/ruby/3.1.0/gems/uri-1.0.2/lib/uri/https.rb
uri-1.0.2 lib/uri/https.rb
uri-1.0.1 lib/uri/https.rb
uri-1.0.0 lib/uri/https.rb
uri-0.12.3 lib/uri/https.rb
uri-0.13.1 lib/uri/https.rb
uri-0.13.0 lib/uri/https.rb
uri-0.11.2 lib/uri/https.rb
uri-0.12.2 lib/uri/https.rb
uri-0.12.1 lib/uri/https.rb
uri-0.11.1 lib/uri/https.rb
uri-0.12.0 lib/uri/https.rb
uri-0.11.0 lib/uri/https.rb