Skip to content

Commit 11a2f0f

Browse files
authoredJul 25, 2018
Change HTTP retry methods to lowercase
1 parent b504346 commit 11a2f0f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎source/index.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ const defaults = {
1515
retry: {
1616
retries: 2,
1717
methods: [
18-
'GET',
19-
'PUT',
20-
'HEAD',
21-
'DELETE',
22-
'OPTIONS',
23-
'TRACE'
18+
'get',
19+
'put',
20+
'head',
21+
'delete',
22+
'options',
23+
'trace'
2424
],
2525
statusCodes: [
2626
408,

0 commit comments

Comments
 (0)
Please sign in to comment.