class

URI::HTTP

v1_8_6_287 - Show latest stable - Superclass: Object

The syntax of HTTP URIs is defined in RFC1738 section 3.3.

Note that the Ruby <a href="/ruby/URI">URI</a> library allows HTTP URLs containing usernames and passwords. This is not legal as per the RFC, but used to be supported in Internet Explorer 5 and 6, before the MS04-004 security update. See <URL:http://support.microsoft.com/kb/834489>.

Included modules

  • OpenURI::OpenRead

Constants

COMPONENT = [ :scheme, :userinfo, :host, :port, :path, :query, :fragment

DEFAULT_PORT = 80

Files

  • lib/open-uri.rb
  • lib/uri/http.rb