Sha256: e7c43bf201e6dfde76228b2bb5a037e020b098be9783f49692327fa679f96671

Contents?: true

Size: 569 Bytes

Versions: 14

Compression:

Stored size: 569 Bytes

Contents

require "http/parser"

require "http/errors"
require "http/timeout/null"
require "http/timeout/per_operation"
require "http/timeout/global"
require "http/chainable"
require "http/client"
require "http/connection"
require "http/options"
require "http/request"
require "http/request/writer"
require "http/response"
require "http/response/body"
require "http/response/parser"

# HTTP should be easy
module HTTP
  extend Chainable

  class << self
    # HTTP[:accept => 'text/html'].get(...)
    alias_method :[], :with_headers
  end
end

Http = HTTP unless defined?(Http)

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
http-0.8.11 lib/http.rb
http-0.8.10 lib/http.rb
http-0.8.9 lib/http.rb
http-0.8.8 lib/http.rb
http-0.8.7 lib/http.rb
http-0.8.6 lib/http.rb
http-0.8.5 lib/http.rb
http-0.8.4 lib/http.rb
http-0.8.3 lib/http.rb
http-0.8.2 lib/http.rb
http-0.8.1 lib/http.rb
http-0.8.0 lib/http.rb
http-0.8.0.pre5 lib/http.rb
http-0.8.0.pre4 lib/http.rb