Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Allow to pass custom http.Client #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pranas
Copy link
Contributor

@pranas pranas commented Oct 14, 2019

While it was possible to customize http.Client by changing http.DefaultClient, it's not a great solution as it is a global state.

The change was a bit tricky because of requests happening on Response object and the possibility of it being initialized manually.

@pranas
Copy link
Contributor Author

pranas commented Mar 27, 2020

@paked thoughts or comments?

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

Successfully merging this pull request may close these issues.

1 participant