From de44221c9309ab6eb16a0e694a23a255b67330c2 Mon Sep 17 00:00:00 2001
From: Trent Ogren <tedwardo2@gmail.com>
Date: Tue, 22 Oct 2013 11:24:26 -0500
Subject: [PATCH] Remove redundant `dup`

Hash#merge returns a new Hash:
http://ruby-doc.org/core-2.0.0/Hash.html#method-i-merge
---
 lib/httparty.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/httparty.rb b/lib/httparty.rb
index e4393d42..932290c9 100644
--- a/lib/httparty.rb
+++ b/lib/httparty.rb
@@ -492,7 +492,7 @@ def default_options #:nodoc:
     private
 
       def perform_request(http_method, path, options, &block) #:nodoc:
-        options = default_options.dup.merge(options)
+        options = default_options.merge(options)
         process_cookies(options)
         Request.new(http_method, path, options).perform(&block)
       end