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

Better Typhoeus option handling #204

Merged
merged 2 commits into from
Apr 20, 2015
Merged

Conversation

gjtorikian
Copy link
Owner

@benbalter Ugh so dumb. Since the test was passing in its own Typhoeus options, it overwrote the User-Agent option.

This PR changes things to keep the UA change while still respect other key changes.

Closes #200.

gjtorikian added a commit that referenced this pull request Apr 20, 2015
@gjtorikian gjtorikian merged commit a4351f4 into master Apr 20, 2015
@gjtorikian gjtorikian deleted the better-redirect-handling branch April 20, 2015 23:44
@benbalter
Copy link
Contributor

We might need a deep merge type method in the long run (e.g., what if I pass a custom header), but 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.

failed: 0 Server returned nothing (no headers, no data)
2 participants