Skip to content

Redirect to s3 headers#16

Open
avdata99 wants to merge 2 commits intokeitaroinc:mainfrom
avdata99:redirect_to_s3_headers
Open

Redirect to s3 headers#16
avdata99 wants to merge 2 commits intokeitaroinc:mainfrom
avdata99:redirect_to_s3_headers

Conversation

@avdata99
Copy link
Copy Markdown

@avdata99 avdata99 commented May 3, 2023

We have a user failing to download from JS with the CKAN API token as Authorization header.

This PR remove unused headers from the second redirect request to S3 endpoint.
It look like the Authorization headers is problematic for S3 and the Origin header is set to null

image

Copy link
Copy Markdown
Contributor

@tino097 tino097 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants