oauth2 icon indicating copy to clipboard operation
oauth2 copied to clipboard

all: find a better way to set a custom HTTP client

Open rakyll opened this issue 8 years ago • 0 comments

Our current method of requiring users to pass an HTTP client in the current context is an abuse of context. We should find a better way set a custom HTTP client and deprecate the current method.

We can add a HTTPClient field to the Config types, but there are cases like AppEngineTokenSource where there is not a Config type and we have to break the current APIs to improve the situation.

rakyll avatar Mar 02 '17 20:03 rakyll