# URI::HTTP (Class)

In: | uri/http.rb
Parent: | Generic

RFC1738 section 3.3.

## Methods

build new request_uri

## Constants

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

## Public Class methods

build(args)

[Source]

    # File uri/http.rb, line 49
        def self.build(args)
          tmp = Util::make_components_hash(self, args)
          return super(tmp)
        end

new(*arg)

[Source]

    # File uri/http.rb, line 54
        def initialize(*arg)
          super(*arg)
        end

## Public Instance methods

request_uri()

[Source]

    # File uri/http.rb, line 65
        def request_uri
          r = path_query
          if r[0] != ?/
            r = '/' + r
          end

          r
        end

[Validate]