Parent

Included Modules

HTTP::Request

Constants

METHODS

RFC 2616: Hypertext Transfer Protocol – HTTP/1.1

PORTS

Default ports of supported schemes

SCHEMES

Allowed schemes

USER_AGENT

Default User-Agent header value

Attributes

body[R]
proxy[R]
scheme[R]

Scheme is normalized to be a lowercase symbol e.g. :http, :https

uri[R]
verb[R]

Method is given as a lowercase symbol e.g. :get, :post

version[R]

Public Instance Methods

__method__(*) click to toggle source

The following alias may be removed in three minor versions (0.8.0) or one major version (1.0.0)

Alias for: method
method(*) click to toggle source

The following method may be removed in two minor versions (0.7.0) or one major version (1.0.0)

# File lib/http/request.rb, line 62
def method(*)
  warn "#{Kernel.caller.first}: [DEPRECATION] HTTP::Request#method is deprecated. Use #verb instead. For Object#method, use #__method__."
  @verb
end
Also aliased as: __method__

[Validate]

Generated with the Darkfish Rdoc Generator 2.