Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Authorization header when following redirects #1345

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

XciD
Copy link
Member

@XciD XciD commented Feb 16, 2023

I thought that

headers.pop("authorization", None)
was enough

Seems like we have multiple path for the same end

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 16, 2023

The documentation is not available anymore as the PR was closed or merged.

@XciD XciD requested a review from Wauplin February 16, 2023 21:32
@Wauplin Wauplin merged commit 4d3d150 into main Feb 17, 2023
@Wauplin Wauplin deleted the remove-authorization-when-redirect branch February 17, 2023 08:38
@julien-c
Copy link
Member

nice catch

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.

4 participants