summaryrefslogtreecommitdiffstats
path: root/contrib/python/aiohttp/patches/05-disable-retries-on-oidemponent-methods.patch
blob: 8bd072eeabea7c69271a5fc39335b42d25fa78c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- contrib/python/aiohttp/aiohttp/client.py	(index)
+++ contrib/python/aiohttp/aiohttp/client.py	(working tree)
@@ -574,7 +574,7 @@ class ClientSession:
         try:
             with timer:
                 # https://www.rfc-editor.org/rfc/rfc9112.html#name-retrying-requests
-                retry_persistent_connection = method in IDEMPOTENT_METHODS
+                retry_persistent_connection = False #method in IDEMPOTENT_METHODS
                 while True:
                     url, auth_from_url = strip_auth_from_url(url)
                     if not url.raw_host: