class WebMock::HttpLibAdapters::ExconAdapter

def self.body_from(params)

def self.body_from(params)
  body = params[:body]
  return body unless body.respond_to?(:read)
  contents = body.read
  body.rewind if body.respond_to?(:rewind)
  contents
end