Sha256: 29040fd9025b1be5eb70beba14dbec37ba5333d4ed4407501964a779dfbf41cc

Contents?: true

Size: 204 Bytes

Versions: 7

Compression:

Stored size: 204 Bytes

Contents

# frozen_string_literal: true
module URI
  # URI having the HTTP protocol
  class HTTP
    def canonicalize
      new_url = URLCanonicalize.canonicalize(to_s)
      ::URI.parse(new_url)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
url_canonicalize-0.1.15 lib/monkey_patches/uri.rb
url_canonicalize-0.1.14 lib/monkey_patches/uri.rb
url_canonicalize-0.1.13 lib/monkey_patches/uri.rb
url_canonicalize-0.1.12 lib/monkey_patches/uri.rb
url_canonicalize-0.1.11 lib/monkey_patches/uri.rb
url_canonicalize-0.1.10 lib/monkey_patches/uri.rb
url_canonicalize-0.1.9 lib/monkey_patches/uri.rb