From f2ade562c5d5355e42e0b5068e4b6a40352482aa Mon Sep 17 00:00:00 2001 From: Radoslav Kirilov Date: Wed, 4 Feb 2026 13:17:31 +0200 Subject: [PATCH] fix: add 408 status code to retryable status codes That is just in case, noticed here https://github.com/corva-ai/witsml-source-lambda/pull/216#discussion_r2754261416 --- src/corva/api_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corva/api_utils.py b/src/corva/api_utils.py index cbfe86f7..e745064f 100644 --- a/src/corva/api_utils.py +++ b/src/corva/api_utils.py @@ -5,6 +5,7 @@ from urllib3 import Retry RETRYABLE_STATUS_CODES = ( + 408, # HTTPStatus.REQUEST_TIMEOUT 429, # HTTPStatus.TOO_MANY_REQUESTS 500, # HTTPStatus.INTERNAL_SERVER_ERROR 502, # HTTPStatus.BAD_GATEWAY