build(args)
Class Public methods
Description
Create a new URI::HTTP object from components, with
syntax checking.
The components accepted are userinfo, host, port, path, query and fragment.
The components should be provided either as an Array, or as a Hash with keys formed by preceding the component
names with a colon.
If an Array is used, the components must be passed in the order [userinfo,
host, port, path, query, fragment].
Example:
newuri = URI::HTTP.build({:host => 'www.ex