Closed emmettnicholas closed 10 years ago
Actually, as of v0.4.0, all methods should retry when passed the {retry: true}
options. If this is not the case, then there must be a bug. Could you confirm that this is true?
Oops, my mistake. I misread the logic in createResponseHandler
! You're right.
It's nice that the module retries after a 429 response if
retry
istrue
, but it'd be nice if it retried after a 202 as well.I noticed this comment on issue https://github.com/lakenen/node-box-view/issues/5
I'm not sure if I understand what's fundamentally different though. As I try to develop against the Box View API, should I care about the distinction between 429 and 202, as long as
retry-after
is supplied?