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

Update clientWithDefaultUserAgent to clientWithDefaultHeaders (and defaults don't override) #1128

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

absoludity
Copy link
Contributor

Follow-on from #1127 that generalises the clientWithDefaultUserAgent to enable specifying default headers.

This is so we can also store the Authorization header that we'll grab during InitNetClient. Also fixed (and tested) so that the defaults don't override the request headers.

Ref: #1110

Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@absoludity absoludity force-pushed the tiller-authz-header-during-initialization-2 branch from fed9758 to d416948 Compare August 21, 2019 00:52
@absoludity absoludity changed the base branch from tiller-authz-header-during-initialization to master August 21, 2019 00:52
@absoludity absoludity merged commit 9bb1d57 into master Aug 21, 2019
@absoludity absoludity deleted the tiller-authz-header-during-initialization-2 branch August 21, 2019 01:18
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