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
When a request interrupts due to a client timeout and when using a retry condition function then the underlying resty.Response.RawResponse is nil. Which is pretty obvious because the remote haven't sent any. But one has to make a nil check on the RawResponse in RetryConditionFuncs because functions like resty.Response.StatusCode() access directly the underlying RawResponses fields.
The text was updated successfully, but these errors were encountered:
@ChristianLohmann I have added nil check while access RawResponse returns value appropriately. Will be pushing the changes tomorrow and also making v0.11 release.
When a request interrupts due to a client timeout and when using a retry condition function then the underlying
resty.Response.RawResponse
isnil
. Which is pretty obvious because the remote haven't sent any. But one has to make anil
check on theRawResponse
inRetryConditionFunc
s because functions likeresty.Response.StatusCode()
access directly the underlyingRawResponse
s fields.The text was updated successfully, but these errors were encountered: