| Class | URI::HTTP |
| In: |
lib/open-uri.rb
lib/uri/http.rb |
| Parent: | Object |
RFC1738 section 3.3.
| DEFAULT_PORT | = | 80 |
| COMPONENT | = | [ :scheme, :userinfo, :host, :port, :path, :query, :fragment |
Create a new URI::HTTP object from components of URI::HTTP with check. It is scheme, userinfo, host, port, path, query and fragment. It provided by an Array of a Hash.
# File lib/uri/http.rb, line 34
34: def self.build(args)
35: tmp = Util::make_components_hash(self, args)
36: return super(tmp)
37: end