Skip to content
On this page

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.2

URI::HTTP

< URI::Generic include OpenURI::OpenRead 3 instance methods 1 class methods

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

Note that the Ruby URI 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:support.microsoft.com/kb/834489>.

Class methods 1

Instance methods 3

Constants

An Array of the available components for URI::HTTP.

A Default port of 80 for URI::HTTP.