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

Override User-Agent header properly #89

Merged
merged 1 commit into from May 21, 2016
Merged

Conversation

greis
Copy link
Contributor

@greis greis commented May 20, 2016

It should use override_headers instead of headers because it appends the User-Agent to the existing one. See https://github.com/drbrain/net-http-persistent/blob/master/lib/net/http/persistent.rb#L101-L104

@gottfrois
Copy link
Owner

Good catch thanks !

@gottfrois gottfrois merged commit c31bb74 into gottfrois:master May 21, 2016
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