* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2005-09-13 16:27:01 +00:00
parent 5d0bf56235
commit 6db56d9a50
5 changed files with 17 additions and 246 deletions

View file

@ -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