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 client header values. #1569

Closed
kuderdev opened this issue Mar 23, 2021 · 1 comment
Closed

Update client header values. #1569

kuderdev opened this issue Mar 23, 2021 · 1 comment

Comments

@kuderdev
Copy link

I think it is already fixed. We only add default parameters if there is no parameter with the same name available in the list of request parameters. It can be overridden by AllowMultipleDefaultParametersWithSameName, which is false by default.

Originally posted by @alexeyzimarev in #959 (comment)

I am not sure this solves the problem. If we set this to true wouldn't that mean he would have multiple headers with the same name and different tokens?

We need a AddOrUpdate like parameters has.

Lramelot added a commit to Lramelot/RestSharp that referenced this issue Apr 30, 2021
@Lramelot
Copy link
Contributor

Lramelot commented May 1, 2021

Created the PR #1576 to fix this issue :)

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

3 participants