module Makura
  module HTTPMethods
    def delete(path, params = {})
      request(:delete, path, { timeout: -1, open_timeout: -1 }.merge(params || {}))
    end

    def get(path, params = {})
      request(:get, path, { timeout: -1, open_timeout: -1 }.merge(params || {}))
    end

    def post(path, params = {})
      request(:post, path, { timeout: -1, open_timeout: -1 }.merge(params || {}))
    end

    def put(path, params = {})
      request(:put, path, { timeout: -1, open_timeout: -1 }.merge(params || {}))
    end
  end
end

module Makura
  module HTTPMethods
    def delete(path, params = {})
      request(:delete, path, params)
    end

    def get(path, params = {})
      request(:get, path, params)
    end

    def post(path, params = {})
      request(:post, path, params)
    end

    def put(path, params = {})
      request(:put, path, params)
    end
  end
end

Revert "Add default timeout of infinite proportions"
Revert "Add default timeout of infinite proportions"

This reverts commit 74f69cb956844d5eea272637e4b552fd2044381d.
