Functions for accessing clean Go http.Client
values
The Go standard library contains a default http.Client
and it is a common idiom to tweak it as necessary. Unfortunately, this is a shared value, and it is not uncommon for libraries to assume that they are free to modify it at will. This package provides some simple functions to get a "clean" http.Client
, namely one that uses the same default values as the Go standard library, but returns a client that does not share any state with other clients.
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |