2015-12-16 00:07:31 -05:00
|
|
|
# frozen_string_literal: false
|
2004-03-24 06:53:31 -05:00
|
|
|
# = uri/https.rb
|
2002-01-10 03:00:51 -05:00
|
|
|
#
|
2004-03-24 06:53:31 -05:00
|
|
|
# Author:: Akira Yamada <akira@ruby-lang.org>
|
|
|
|
# License:: You can redistribute it and/or modify it under the same term as Ruby.
|
|
|
|
# Revision:: $Id$
|
2002-01-10 03:00:51 -05:00
|
|
|
#
|
2011-05-13 16:03:21 -04:00
|
|
|
# See URI for general documentation
|
|
|
|
#
|
2002-01-10 03:00:51 -05:00
|
|
|
|
|
|
|
require 'uri/http'
|
|
|
|
|
|
|
|
module URI
|
2005-08-24 01: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 03:00:51 -05:00
|
|
|
class HTTPS < HTTP
|
2011-05-12 16:39:11 -04:00
|
|
|
# A Default port of 443 for URI::HTTPS
|
2002-01-10 03:00:51 -05:00
|
|
|
DEFAULT_PORT = 443
|
|
|
|
end
|
|
|
|
@@schemes['HTTPS'] = HTTPS
|
2004-03-24 06:53:31 -05:00
|
|
|
end
|