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

Retry all GET/HEAD requests that 401 #1029

Merged
merged 2 commits into from
Dec 14, 2016
Merged

Retry all GET/HEAD requests that 401 #1029

merged 2 commits into from
Dec 14, 2016

Conversation

ejholmes
Copy link
Contributor

This is an extension to #1028. Turns out, the call to /user can return ok, but subsequent calls to check org membership can fail with a 401, using the same auth token.

This extends the retries to all GET/HEAD requests that return a 401 (/user, /teams/:team_id/memberships/:user, /user/memberships/orgs/:organization)

@ejholmes ejholmes merged commit 7e992d9 into master Dec 14, 2016
@ejholmes ejholmes deleted the github-bug branch December 14, 2016 23:52
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.

None yet

2 participants