lib/httpx/headers.rb in httpx-0.8.2 vs lib/httpx/headers.rb in httpx-0.9.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module HTTPX class Headers - EMPTY = [].freeze # :nodoc: + EMPTY = [].freeze class << self def new(headers = nil) return headers if headers.is_a?(self)