class URI::HTTP

URI having the HTTP protocol

Public Instance Methods

canonicalize() click to toggle source
# File lib/monkey_patches/uri.rb, line 6
def canonicalize
  new_url = URLCanonicalize.canonicalize(to_s)
  ::URI.parse(new_url)
end