URI::HTTP.component : URI « Network « Ruby






URI::HTTP.component


require 'uri'

puts URI::HTTP.component
# => [:scheme, :userinfo, :host, :port, :path, :query, :fragment]

 








Related examples in the same category

1.Parsing URLs
2.Split a URL
3.URI::MailTo.component
4.Create a URL with URI::HTTP.build
5.Dump a URL
6.mailto URI parse
7.URI parse
8.Extracting All the URLs from an HTML Document
9.Get only http and https based url