diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-13 16:27:01 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-13 16:27:01 +0000 |
| commit | 30ffc0da3ceb505ca14b39142e10fd24e37de4e2 (patch) | |
| tree | 60f610769c8c4f353773d5bca389ec484cb78929 /lib/net/http.rb | |
| parent | 7dac03ecfaaae71e8e69ad9a6f6831110c1a05a6 (diff) | |
| download | ruby-30ffc0da3ceb505ca14b39142e10fd24e37de4e2.tar.gz ruby-30ffc0da3ceb505ca14b39142e10fd24e37de4e2.tar.xz ruby-30ffc0da3ceb505ca14b39142e10fd24e37de4e2.zip | |
* lib/net/https.rb: backported from trunk, rev 1.3. [ruby-dev:25673] (again), [ruby-dev:26617] (again), [ruby-dev:27062]
* ext/openssl/lib/net/https.rb: removed.
* ext/openssl/lib/net/protocols.rb: removed.
* lib/net/http.rb: #use_ssl?, #use_ssl are moved from net/https.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
| -rw-r--r-- | lib/net/http.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 51d2e7c9d..98e16c929 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -523,9 +523,11 @@ module Net #:nodoc: # returns true if use SSL/TLS with HTTP. def use_ssl? - false # redefined in net/https + @use_ssl end + alias use_ssl use_ssl? #:nodoc: obsolete + # Opens TCP connection and HTTP session. # # When this method is called with block, gives a HTTP object |
