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

fix: exclude 308s from httplib2 redirect codes list #813

Merged
merged 6 commits into from Mar 11, 2020

Conversation

busunkim96
Copy link
Contributor

Closes #803

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 24, 2020
@busunkim96 busunkim96 requested a review from a team January 24, 2020 17:55
Copy link

@plamut plamut left a comment

Choose a reason for hiding this comment

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

The fix looks good based on the discussion in the issue description, but let's also cover it with a test.

Not sure why Kokoro failed, though, its log is empty, or maybe just I cannot see it.

googleapiclient/http.py Outdated Show resolved Hide resolved
@busunkim96 busunkim96 requested a review from plamut March 6, 2020 18:03
Copy link

@plamut plamut left a comment

Choose a reason for hiding this comment

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

The test case looks good, thanks for adding it. Kokoro configs are probably fine, too. :)

I added a minor suggestion to remove some unnecessary clutter from the code.

googleapiclient/http.py Outdated Show resolved Hide resolved
Co-Authored-By: Peter Lamut <plamut@users.noreply.github.com>
@busunkim96 busunkim96 requested a review from plamut March 11, 2020 18:26
Copy link

@plamut plamut 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
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

httplib2 v0.16.0 breaks the library
3 participants