# -*- encoding: binary -*- require "kgio" require "kcar" module HTTP_Spew autoload :ChunkyPipe, "http_spew/chunky_pipe" autoload :ContentMD5, "http_spew/content_md5" autoload :HitNRun, "http_spew/hit_n_run" autoload :InputSpray, "http_spew/input_spray" class Error < RuntimeError; end class TimeoutError < Error; end class ConnectionReset < Error; end class RequestError < Error; end class UnexpectedResponse < RequestError; end class ChecksumError < HTTP_Spew::Error; end class LengthError < HTTP_Spew::Error; end class NoWritersError < HTTP_Spew::Error; end class EOF < EOFError; end require "http_spew/version" require "http_spew/headers" require "http_spew/request" require "http_spew/class_methods" extend HTTP_Spew::ClassMethods end