apache / openwhisk-client-go

Go client library for the Apache OpenWhisk platform
https://openwhisk.apache.org/
Apache License 2.0
35 stars 44 forks source link

allow additional headers to override auth header val #100

Closed drcariel closed 5 years ago

drcariel commented 5 years ago

I'd like to provide a way to override the existing auth header for client requests using additional headers. Currently, if attempting to add an "authorization" header to the AdditionalHeaders var the headers get mashed together causing conflicts. This PR rectifies that issue.

drcariel commented 5 years ago

@mdeuser Had to think about it for a bit - but got it now - no need to delete and re-add auth to additional headers! 🎉