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

transport: add method for setting User-Agent #124

Merged
merged 1 commit into from
Jun 22, 2018

Conversation

axw
Copy link
Member

@axw axw commented Jun 22, 2018

Add Transport.SetUserAgent method, which may be
used to override the default User-Agent header.

Fixes #118

Add Transport.SetUserAgent method, which may be
used to override the default User-Agent header.
@codecov-io
Copy link

Codecov Report

Merging #124 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   75.53%   75.56%   +0.02%     
==========================================
  Files          61       61              
  Lines        3107     3110       +3     
==========================================
+ Hits         2347     2350       +3     
  Misses        577      577              
  Partials      183      183
Impacted Files Coverage Δ
transport/http.go 88.49% <100%> (+0.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2a0e2d...af0bafa. Read the comment docs.

@axw axw merged commit 0d94b47 into elastic:master Jun 22, 2018
@axw axw deleted the transport-set-user-agent branch June 22, 2018 14:04
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.

2 participants