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
After reading the code:
I see that in DoWithAuth function, at the first c.hc.Do(req) we check the result with checkStatusOk.
After the second call, if a Login occured, we do not.
And actually checkStatusOk ensure that there is a response Body.
(note that addr=0x40 correspond to the offset of Body in http.Response structure).
The text was updated successfully, but these errors were encountered:
Hello,
Sometime I get this panic:
After reading the code:
I see that in
DoWithAuth
function, at the firstc.hc.Do(req)
we check the result withcheckStatusOk
.After the second call, if a Login occured, we do not.
And actually
checkStatusOk
ensure that there is a response Body.(note that
addr=0x40
correspond to the offset ofBody
inhttp.Response
structure).The text was updated successfully, but these errors were encountered: