summaryrefslogtreecommitdiff
path: root/lib/uri/https.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uri/https.rb')
-rw-r--r--lib/uri/https.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/uri/https.rb b/lib/uri/https.rb
index 1ee1e67a24..9761636304 100644
--- a/lib/uri/https.rb
+++ b/lib/uri/https.rb
@@ -3,12 +3,16 @@
#
# Author:: Akira Yamada <akira@ruby-lang.org>
# License:: You can redistribute it and/or modify it under the same term as Ruby.
-# Revision:: $Id: https.rb,v 1.2.2.1 2004/03/24 12:20:32 gsinclair Exp $
+# Revision:: $Id$
#
require 'uri/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
DEFAULT_PORT = 443
end