Closed agaskill closed 1 year ago
Occasionally the API will respond with a 429 with no rate limit headers.
In this case the RateLimitExtension gets an error because it expects the X-RateLimit-Window header to be present.
This commit changes RateLimitExtension to use TryGetValues instead of GetValues since the header may not exist in the response.
resolves #53
Released 1.0.2
Occasionally the API will respond with a 429 with no rate limit headers.
In this case the RateLimitExtension gets an error because it expects the X-RateLimit-Window header to be present.
This commit changes RateLimitExtension to use TryGetValues instead of GetValues since the header may not exist in the response.
resolves #53