class Bundler::URI::Generic

def normalize


* an empty path component is set to "/".
* scheme and host are converted to lowercase,

Normalization here means:

#=> #
Bundler::URI("HTTP://my.EXAMPLE.com").normalize

require 'bundler/vendor/uri/lib/uri'

Returns normalized Bundler::URI.
def normalize
  uri = dup
  uri.normalize!
  uri
end