summaryrefslogtreecommitdiffstats
path: root/lib/uri/https.rb
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-24 05:08:00 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-24 05:08:00 +0000
commit60886ffd1bd2864cff68542b8f33a58c07b5acd5 (patch)
treee8070dcddb1a3f8b53f570b6e3de241a7cdf46c0 /lib/uri/https.rb
parentbea7161d01cdf166e0eaa81fcb6776abb1f2f280 (diff)
downloadruby-60886ffd1bd2864cff68542b8f33a58c07b5acd5.tar.gz
ruby-60886ffd1bd2864cff68542b8f33a58c07b5acd5.tar.xz
ruby-60886ffd1bd2864cff68542b8f33a58c07b5acd5.zip
Lovely RDOC patches from mathew (metaATpoboxDOTcom) on URI/* and getoptlong.rb
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri/https.rb')
-rw-r--r--lib/uri/https.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/uri/https.rb b/lib/uri/https.rb
index 78e5b9af1..976163630 100644
--- a/lib/uri/https.rb
+++ b/lib/uri/https.rb
@@ -9,6 +9,10 @@
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