lib/httpx/request.rb in httpx-1.2.1 vs lib/httpx/request.rb in httpx-1.2.2

- old
+ new

@@ -59,10 +59,10 @@ base_path = @options.base_path @uri = origin.merge("#{base_path}#{@uri}") end - @headers = @options.headers_class.new(@options.headers) + @headers = @options.headers.dup @headers["user-agent"] ||= USER_AGENT @headers["accept"] ||= "*/*" @body = @options.request_body_class.new(@headers, @options) @state = :idle