do not send Expect header as many server don't like it
This commit is contained in:
parent
c2893a2e3d
commit
09766288b0
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue