You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add default configuration and retry handling for Fetch HTTP client
- Introduced centralized default values in `Defaults.php` for HTTP method, timeout, retries, and retry delay.
- Created `RetryDefaults.php` to manage retry-related configurations, including maximum retries, delay, and retryable status codes.
- Refactored `ClientHandler.php`, `GlobalServices.php`, and `RequestContext.php` to utilize new defaults.
- Implemented `RetryStrategy.php` to encapsulate retry logic and reduce duplication.
- Updated `RequestOptions.php` to normalize multipart requests.
- Enhanced `ManagesRetries.php` and `PerformsHttpRequests.php` to leverage new retry defaults and strategies.
- Added tests in `AsyncRequestsTest.php` to ensure proper handling of async requests and rejection scenarios.
- Created configuration files for Obsidian app settings and workspace layout.
0 commit comments