1# = uri/https.rb 2# 3# Author:: Akira Yamada <akira@ruby-lang.org> 4# License:: You can redistribute it and/or modify it under the same term as Ruby. 5# Revision:: $Id: https.rb 31555 2011-05-13 20:03:21Z drbrain $ 6# 7# See URI for general documentation 8# 9 10require 'uri/http' 11 12module URI 13 14 # The default port for HTTPS URIs is 443, and the scheme is 'https:' rather 15 # than 'http:'. Other than that, HTTPS URIs are identical to HTTP URIs; 16 # see URI::HTTP. 17 class HTTPS < HTTP 18 # A Default port of 443 for URI::HTTPS 19 DEFAULT_PORT = 443 20 end 21 @@schemes['HTTPS'] = HTTPS 22end 23