= private = protected
normalize()
Returns normalized URI.
require 'uri' URI("HTTP://my.EXAMPLE.com").normalize #=> #<URI::HTTP http://my.example.com/>
Normalization here means:
scheme and host are converted to lowercase,
an empty path component is set to “/”.
# File lib/uri/generic.rb, line 1310 def normalize uri = dup uri.normalize! uri end