diff --git a/lib/hydra_wrapper.rb b/lib/hydra_wrapper.rb index 3ef31602a..66a9b0fc2 100644 --- a/lib/hydra_wrapper.rb +++ b/lib/hydra_wrapper.rb @@ -7,7 +7,10 @@ require 'active_support/base64' class HydraWrapper - OPTS = {:max_redirects => 3, :timeout => 5000, :method => :post} + OPTS = {:max_redirects => 3, :timeout => 5000, :method => :post, + :headers => {'Expect' => '', + 'Transfer-Encoding' => ''} + } attr_reader :failed_people, :user, :encoded_object_xml attr_accessor :dispatcher_class, :people, :hydra