Correct unknown upload reconciliation and allow longer upload response
This commit is contained in:
@@ -48,7 +48,7 @@ class SafeTransport:
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
json=None if binary else payload or {},
|
||||
timeout=(5, 30),
|
||||
timeout=(5, 120 if endpoint == "/upload" else 30),
|
||||
allow_redirects=False,
|
||||
)
|
||||
except requests.RequestException:
|
||||
|
||||
Reference in New Issue
Block a user