Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Expose redirect_codes on AuthorizedHttp. - #12

Merged
busunkim96 merged 1 commit into
googleapis:masterfrom
craigcitro:master
Jul 25, 2020
Merged

busunkim96 merged 1 commit into
googleapis:masterfrom
craigcitro:master

Conversation

@craigcitro

Copy link
Copy Markdown
Contributor

Similar to #9, this exposes the redirect_codes attribute of the underlying
httplib2.Http instance on AuthorizedHttp, letting users modify the set of HTTP
status codes interpreted as redirects (as in
googleapis/google-api-python-client#803).

PTAL @busunkim96

Similar to googleapis#9, this exposes the `redirect_codes` attribute of the underlying
httplib2.Http instance on AuthorizedHttp, letting users modify the set of HTTP
status codes interpreted as redirects (as in
googleapis/google-api-python-client#803).
@busunkim96
busunkim96 merged commit 09fa5a9 into googleapis:master Jul 25, 2020
@pkenjora

Copy link
Copy Markdown

Does this library need a patch for the httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header?

@craigcitro

Copy link
Copy Markdown
Contributor Author

No, this PR made it so that the existing support in google.auth+httplib2 works as-is.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants