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 #100: Follow redirects when extended #101

Merged
merged 1 commit into from
Oct 15, 2016

Conversation

ctreatma
Copy link
Contributor

API clients that are built by extending HTTPotion.Base
can use the process_options hook to ensure that all
redirects will be followed automatically. A typo in that
module caused follow_redirects to be ignored.

This adds a test to specifically cover the behavior of
an API client using process_options to inject a true
value for follow_redirects, and fixes the typo.

API clients that are built by extending `HTTPotion.Base`
can use the `process_options` hook to ensure that all
redirects will be followed automatically. A typo in that
module caused `follow_redirects` to be ignored.

This adds a test to specifically cover the behavior of
an API client using `process_options` to inject a `true`
value for `follow_redirects`, and fixes the typo.
@valpackett valpackett merged commit dbddfc4 into valpackett:master Oct 15, 2016
@valpackett
Copy link
Owner

Thank you!

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