class HTTP::Request
def request_body(body, opts)
def request_body(body, opts) body = Request::Body.new(body) unless body.is_a?(Request::Body) body = opts[:auto_deflate].deflated_body(body) if opts[:auto_deflate] body end
def request_body(body, opts) body = Request::Body.new(body) unless body.is_a?(Request::Body) body = opts[:auto_deflate].deflated_body(body) if opts[:auto_deflate] body end