URI::Generic#normalize documentation is vague.
the documentation for
URI::Generic#normalize is vague and does not provide enough details about the algorithm that applies normalization.
the documentation says, "Returns normalized URI" and nothing more. I would have expected a short piece that explains how normalization
pry session attached (ruby = v2.0.0)
 pry(main)> require "uri"
 pry(main)> uri = URI.parse("http://www.ruby-lang.org")
 pry(main)> ? uri.normalize
From: /Users/robert/.rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/uri/generic.rb @ line 1418:
Number of lines: 2
Returns normalized URI
#4 Updated by stomar (Marcus Stollsteimer) 7 months ago
- Status changed from Assigned to Closed