dotnet / dotnet/dev-proxy

Extend the rate limiting plugin with support for batches

Aperta
#298 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
832
Fork
89
Merge medio
12h 1m
PR unite (30g)
23

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.