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

enable httpClient factory to be used easily #65

Closed
wants to merge 1 commit into from

Conversation

Pycnomerus
Copy link

the goal of the PR is to enable an easy implementation of an IRESTClientBuilder that could leverage HttpClientFactory without having to rewrite the DefaultRestClient

@epbensimpson
Copy link
Contributor

epbensimpson commented Feb 20, 2024

Just a note on this - you need to ensure you disable cookies on the HttpClient if you want to reuse it by ensuring UseCookies is set to false on the HttpClientHandler as some APIs set cookies and you really do not want those sent on subsequent requests 😬

@mark-robustelli
Copy link

There were a few other issues and these changes have been included in PR 71.

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

Successfully merging this pull request may close these issues.

3 participants