Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
aws-sdk-ruby: remove unnecessary header
This header creates problems as the requests signature is not calculated
correctly if it is present.
  • Loading branch information
derpsteb committed Sep 6, 2023
commit 5c5129b62c6c95301d5e1ca6b42e09c6b71765ac
3 changes: 1 addition & 2 deletions run/core/aws-sdk-ruby/aws-stub-tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,7 @@ def presignedPutObjectTest(data_dir, file_name)

# Generate presigned Put URL and parse it
uri = URI.parse(presignedPutWrapper(bucket_name, file_name, log_output))
request = Net::HTTP::Put.new(uri.request_uri, 'content-type' => 'application/octet-stream',
'x-amz-acl' => 'public-read')
request = Net::HTTP::Put.new(uri.request_uri, 'content-type' => 'application/octet-stream')
request.body = IO.read(File.join(data_dir, file_name))

http = Net::HTTP.new(uri.host, uri.port)
Expand Down