sindresorhus/ky


The issue has been solved
More comprehensive `retry` option #2
sindresorhus posted onGitHub
In addition to accepting a number, it should accept an object with the ability to specify which methods and status codes to retry on. Same as Got: https://github.com/sindresorhus/got#retry