Closed dubee closed 6 years ago
@mdeuser, please you review.
@mdeuser
@dubeejw is the intent to provide per-request specific headers? if so, it might be more flexible to include the additional headers via the requestUrl() functions as opposed to the global client configuration
@mdeuser, AdditionalHeaders
is meant for consumers of client-go that do not have access to requestUrl()
.
i think i understand. this is for setting a header that will appear in any/all subsequent request to the backend; not for setting header(s) on a per-request basis. LGTM.. but perhaps a comment on that AdditionalHeaders would help clarify.
Allows for additional HTTP headers to be configured for the HTTP client.