Skip to content

AMAZON_AWS_S3_PKG "Duplicate Headers" #83

Description

@jeffreykemp

Recently my code started failing with an error "Duplicate Headers" being returned from AWS, e.g. when uploading an object using AMAZON_AWS_S3_PKG.

Note: I was able to resolve this by editing the package to remove the bits that set the "Host" header. I don't know why that fixed it but it seems to work fine without this.

  --l_header_names(1) := 'Host';
  --l_header_values.extend;
  --l_header_values(1) := g_aws_host_s3;`

(this edit required adjusting the array indices for the other headers)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions