dotnet / dotnet/dev-proxy

Extend the retry-after plugin with support for batching

Open
#297 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 retry-after plugin with support for batching.

When processing the request, if it's a batch, process the requests in its body and see if any of them doesn't meet the retry-after threshold. If that's the case, forcefully fail the request with a 429 response. For all other requests, return a 203 Non-Authoritative Information status code with an empty body to indicate lack of response from the underlying API.

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.