Skip to content

Remain header when get object with a 301 redirect#13

Open
kesin wants to merge 1 commit intosaracen:masterfrom
kesin:fixed-301-auth-header
Open

Remain header when get object with a 301 redirect#13
kesin wants to merge 1 commit intosaracen:masterfrom
kesin:fixed-301-auth-header

Conversation

@kesin
Copy link
Copy Markdown

@kesin kesin commented Jan 21, 2022

Github put the AuthInfo in url params, so there is no problem when there is a fetch redirect like 301
But in some other case, AuthInfo send in Header, we need to remain Header when there is a redirect to avoid getting a 401 response.

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.

2 participants