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

Client doesn't support passing arbitrary header in request header #9

Open
snoby opened this issue Mar 5, 2019 · 0 comments
Open

Client doesn't support passing arbitrary header in request header #9

snoby opened this issue Mar 5, 2019 · 0 comments

Comments

@snoby
Copy link

snoby commented Mar 5, 2019

As the code is written now, it doesn't seem that there is support for placing a key value field in the request header. For my use case I'm going through a SSOProxy that requires me to have a header 'Cookie': 'access_token=blahfooblah' access_token in the https header. Is there another way to add a header that I'm missing in the code?

Would it be 'correct' to add the arbitrary header to the config structure then, if that field has a value, add it to the req headers in all the different methods? Or is this considered an API change?

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

No branches or pull requests

1 participant