2015-12-16 08:07:31 +03:00
|
|
|
# frozen_string_literal: false
|
2004-03-24 14:53:31 +03:00
|
|
|
# = uri/https.rb
|
2002-01-10 11:00:51 +03:00
|
|
|
#
|
2004-03-24 14:53:31 +03:00
|
|
|
# Author:: Akira Yamada <akira@ruby-lang.org>
|
|
|
|
# License:: You can redistribute it and/or modify it under the same term as Ruby.
|
2002-01-10 11:00:51 +03:00
|
|
|
#
|
2011-05-14 00:03:21 +04:00
|
|
|
# See URI for general documentation
|
|
|
|
#
|
2002-01-10 11:00:51 +03:00
|
|
|
|
2018-11-02 20:52:33 +03:00
|
|
|
require_relative 'http'
|
2002-01-10 11:00:51 +03:00
|
|
|
|
|
|
|
module URI
|
2005-08-24 09:08:00 +04:00
|
|
|
|
|
|
|
# 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.
|
2002-01-10 11:00:51 +03:00
|
|
|
class HTTPS < HTTP
|
2011-05-13 00:39:11 +04:00
|
|
|
# A Default port of 443 for URI::HTTPS
|
2002-01-10 11:00:51 +03:00
|
|
|
DEFAULT_PORT = 443
|
|
|
|
end
|
2021-06-25 14:38:01 +03:00
|
|
|
|
|
|
|
register_scheme 'HTTPS', HTTPS
|
2004-03-24 14:53:31 +03:00
|
|
|
end
|