dotnet / dotnet/dev-proxy

Extend the rate limiting plugin with support for batches

Open
#298 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
832
Forks
89
Avg merge
12h 1m
Merged PRs (30d)
23

Description

Related to #8

Extend the rate limiting plugin with support for batching.

When processing batch responses, augment the response body of relevant requests that support rate limiting with rate limiting headers. Use the existing logic to determine the headers to add.
When processing batch requests, examine the request payload to see if all requests are within rate limits. Fail the request with a 429 if it exceeded the limit. Return 203 Non-Authoritative Information status code with an empty body for all other requests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.