class Async::HTTP::Headers
def []= key, value
def []= key, value @fields << [key, value] if @indexed key = key.downcase if current_value = @indexed[key] @indexed[key] = Array(current_value) << value else @indexed[key] = value end end end
def []= key, value @fields << [key, value] if @indexed key = key.downcase if current_value = @indexed[key] @indexed[key] = Array(current_value) << value else @indexed[key] = value end end end