Extend the retry-after plugin with support for batching
- Lingua principale
- C#
- Stelle
- 832
- Fork
- 89
- Merge medio
- 12h 1m
- PR unite (30g)
- 23
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando il plugin retry-after e leggendo il comportamento esistente di elaborazione delle richieste, quindi consulta l’issue #8 correlata per il contesto. Il lavoro è completato quando le richieste batch esaminano le richieste contenute nel loro body, restituiscono 429 quando una qualsiasi supera la soglia di retry-after e, altrimenti, restituiscono 203 con un body vuoto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- api, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100