class Faraday::Request

def headers=(hash)

Parameters:
  • hash (Hash) -- new headers
def headers=(hash)
  if headers
    headers.replace hash
  else
    super
  end
end