Skip to content

Use Retry-After Header instead of ambiguous back-off strategy for Management API requests #47

@nkooman-bzs

Description

@nkooman-bzs

Motivation

Provides better handling for retry attempts.
https://kontent.ai/learn/docs/apis/openapi/management-api-v2/#section/Rate-limiting

Proposed solution

Keep the same retry strategy option for other consumers of the core SDK.
Optionally check for Retry-After header in response.

Additional context

https://github.com/kontent-ai/core-sdk-js/blob/master/lib/http/http.functions.ts

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions