Improvement
Rate Limiter: Updated headers
We’ve updated our rate limit headers from IETF draft v7 to the latest v10 format. The headers now use structured header syntax with quoted policy names for better standardization and compatibility.
Header Format Changes:
- RateLimit-Policy: Now uses structured header format with quoted policy name
- Format:
"policy-name";q=quota;w=window - Example:
"default";q=500;w=60(500 requests per 60 seconds)
- Format:
- RateLimit: Updated to use structured header format with quoted policy name
- Format:
"policy-name";r=remaining;t=reset - Example:
"default";r=499;t=59(499 requests remaining, 59 seconds until reset)
- Format:
The header values are now fully compliant with the latest IETF draft standard, making it easier for clients to parse and handle rate limit information programmatically.