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

HttpScheduler.AsyncRequest<T> Ignores withCredentials Parameter #517

Closed
amihaiemil opened this issue Nov 7, 2019 · 2 comments · Fixed by #518
Closed

HttpScheduler.AsyncRequest<T> Ignores withCredentials Parameter #517

amihaiemil opened this issue Nov 7, 2019 · 2 comments · Fixed by #518
Assignees

Comments

@amihaiemil
Copy link
Contributor

The class HttpScheduler.AsyncRequest takes withCredentials boolean flag as constructor parameter, but does nothing with it.

Should we remove it or implement some logic based on it?

@paddybyers
Copy link
Member

My memory of this is that I wanted to make a change whereby the credentials were passed down through the Http framework from the caller to the lower layers explicit as credentials arguments, rather than being added to the headers or params. This would allow the credentials to be applied where needed, and would also generalise to handling of proxy credentials as well as the regular endpoint credentials.

However, this work was never completed, and we were left with this vestigial withCredentials argument that's unused.

I think it should be deleted.

@amihaiemil amihaiemil self-assigned this Nov 8, 2019
@amihaiemil
Copy link
Contributor Author

@paddybyers ok :) I'll make a PR today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants