Class: HTTP::Request

### Home Classes Methods

### In Files

- lib/http/request.rb
- lib/http/request/caching.rb
- lib/http/request/writer.rb

### Parent

Object

### Namespace

- CLASS HTTP::Request::Caching
- CLASS HTTP::Request::UnsupportedMethodError
- CLASS HTTP::Request::UnsupportedSchemeError
- CLASS HTTP::Request::Writer

### Included Modules

- HTTP::Headers::Mixin

### Class/Module Index

Quicksearch

- HTTP
- HTTP::Cache
- HTTP::Cache::Headers
- HTTP::Cache::NullCache
- HTTP::Cache::NullLogger
- HTTP::CacheError
- HTTP::Chainable
- HTTP::Client
- HTTP::Connection
- HTTP::Error
- HTTP::Headers
- HTTP::Headers::Mixin
- HTTP::InvalidHeaderNameError
- HTTP::MimeType
- HTTP::MimeType::Adapter
- HTTP::MimeType::JSON
- HTTP::Options
- HTTP::Redirector
- HTTP::Redirector::EndlessRedirectError
- HTTP::Redirector::TooManyRedirectsError
- HTTP::Request
- HTTP::Request::Caching
- HTTP::Request::UnsupportedMethodError
- HTTP::Request::UnsupportedSchemeError
- HTTP::Request::Writer
- HTTP::RequestError
- HTTP::Response
- HTTP::Response::Body
- HTTP::Response::Caching
- HTTP::Response::IoBody
- HTTP::Response::Parser
- HTTP::Response::Status
- HTTP::Response::StringBody
- HTTP::ResponseError
- HTTP::StateError
- HTTP::Timeout
- HTTP::Timeout::Global
- HTTP::Timeout::Null
- HTTP::Timeout::PerOperation
- HTTP::TimeoutError
- HTTP::URI
- Object

No matching classes.

# 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]

"Request URI" as per RFC 2616 www.w3.org/Protocols/rfc2616/rfc2616-sec5.html

verb[R]

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

version[R]

[Validate]

Generated with the Darkfish Rdoc Generator 2.