parse_headers

in lib/elastic/transport/transport/http/faraday.rb [49:60]


          def parse_headers(headers, connection)
            if connection.connection.headers
              if !headers.nil?
                connection.connection.headers.merge(headers)
              else
                connection.connection.headers
              end
            else
              headers
            end
          end