File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,21 @@ var limitHeaders = []string{
1313 "X-Ratelimit-Limit" ,
1414 "Ratelimit-Limit" ,
1515 "X-RateLimit-Requests-Limit" , // Linear uses a non-standard header
16+ "X-Rate-Limit-Limit" , // Okta uses a non-standard header
1617}
1718
1819var remainingHeaders = []string {
1920 "X-Ratelimit-Remaining" ,
2021 "Ratelimit-Remaining" ,
2122 "X-RateLimit-Requests-Remaining" , // Linear uses a non-standard header
23+ "X-Rate-Limit-Remaining" , // Okta uses a non-standard header
2224}
2325
2426var resetAtHeaders = []string {
2527 "X-Ratelimit-Reset" ,
2628 "Ratelimit-Reset" ,
2729 "X-RateLimit-Requests-Reset" , // Linear uses a non-standard header
30+ "X-Rate-Limit-Reset" , // Okta uses a non-standard header
2831 "Retry-After" , // Often returned with 429
2932}
3033
You can’t perform that action at this time.
0 commit comments