You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to make to defer resp.Body.Close() on all code paths (or some equivalent of that) to avoid leaking the underlying TCP sockets (which can lead to 401s once the pool is exhausted).