immers-space/activitypub-express

delivery: https://.../inbox 401

LuckyCoders opened this issue · 1 comments

if (result.statusCode >= 500) {

result.statusCode == 401
Unauthorized response status code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource.

The condition in the linked code is checking whether we should retry the delivery after failure. We would not want to retry a 401 because it would remain unauthorized in future attempts. Did you mean to link somwhere else?