Plugin that allows to retry HTTP requests based on policy specified in the header.
Plugin uses structured header named Retry-Policy
.
That header implements RFC-8941 dictionary structure.
Header fields description:
Key | Value |
---|---|
codes |
Interval of response codes in mathematical notation of intervals, with spaces used as a separator, eg: [502 504] — 502 <= codes >= 504[502 504) 429 — 502 <= codes > 504, codes == 429 |
attempts |
A number with a self-explanatory name, eg: 3 |