mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-14 04:55:07 +00:00
Deployed 21d5f1c with MkDocs version: 1.6.1
This commit is contained in:
@@ -2771,7 +2771,7 @@ seconds left before this specific session expires.</p>
|
||||
<p>Source: <code>unshackle/core/remote_service.py</code>. This is the canonical consumer of the
|
||||
session API and a good template for any client.</p>
|
||||
<ul>
|
||||
<li><strong><code>RemoteClient._request</code></strong> sets <code>X-Secret-Key</code> and <code>User-Agent: unshackle/<version></code>,
|
||||
<li><strong><code>RemoteClient.request</code></strong> sets <code>X-Secret-Key</code> and <code>User-Agent: unshackle/<version></code>,
|
||||
uses a 120s timeout for <code>POST</code> and 30s for <code>GET</code>/<code>DELETE</code>, and treats any
|
||||
<code>status_code >= 400</code> as fatal: it logs <code>Server error [<error_code>]: <message></code>
|
||||
and raises <code>SystemExit(1)</code>.</li>
|
||||
|
||||
Reference in New Issue
Block a user