go-github-com-hashicorp-go-cleanhttp 0.5.2
Channel: guix
Home page: https://github.com/hashicorp/go-cleanhttp
Licenses: MPL 2.0
Synopsis: Functions for accessing clean Go @code{http.Client} values
Description:
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.
Total results: 1