Retry on 413 (#540)

This commit is contained in:
Konrad Pabjan authored and GitHub committed 2020-08-04 16:57:38 +02:00
1 parent 9772449825
commit 975f43d6c7
5 files changed
+9 -3

No files matched your search

+1
View File
@@ -192,6 +192,7 @@ describe('Utils', () => {
expect(utils.isRetryableStatusCode(HttpCodes.OK)).toEqual(false)
expect(utils.isRetryableStatusCode(HttpCodes.NotFound)).toEqual(false)
expect(utils.isRetryableStatusCode(HttpCodes.Forbidden)).toEqual(false)
expect(utils.isRetryableStatusCode(413)).toEqual(true) // Payload Too Large
})
it('Test Throttled Status Code', () => {