Skip to content

feat(middleware): support rate limit metadata and response headers - #3168

Open
AdamMagued wants to merge 1 commit into
labstack:masterfrom
AdamMagued:fix-issue-2961
Open

AdamMagued wants to merge 1 commit into
labstack:masterfrom
AdamMagued:fix-issue-2961

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #2961

Summary

  • Added rate limit metadata interface and response header emission for X-RateLimit-* and Retry-After.
  • Added unit tests validating rate limit header formatting and store status reporting.

Verified via container sandbox test suite.

Signed-off-by: AdamMagued <adamismailmageud@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rate limit middleware doesn't set headers or provide metadata via interface.

1 participant