Move autoload to toplevel
So that classes which uses Net::HTTP with https can use OpenSSL namespace for example exception classes like OpenSSL::SSL::SSLError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
67f59eb4ab
commit
6ecafe0c98
@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
require_relative 'protocol'
|
require_relative 'protocol'
|
||||||
require 'uri'
|
require 'uri'
|
||||||
|
autoload :OpenSSL, 'openssl'
|
||||||
|
|
||||||
module Net #:nodoc:
|
module Net #:nodoc:
|
||||||
autoload :OpenSSL, 'openssl'
|
|
||||||
|
|
||||||
# :stopdoc:
|
# :stopdoc:
|
||||||
class HTTPBadResponse < StandardError; end
|
class HTTPBadResponse < StandardError; end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user