Deployed 67dea287 with MkDocs version: 1.6.1

This commit is contained in:
2026-12-04 20:32:25 +00:00
parent fe770fdb4f
commit 52a6d28dec
4 changed files with 65 additions and 37 deletions
+7 -8
View File
@@ -2441,13 +2441,13 @@ result in <code>directories.cache/update_check.json</code>.</p>
<td><code>debug_requests</code></td>
<td>bool</td>
<td><code>false</code></td>
<td>The one switch that writes an <code>http_request</code> entry for each HTTP attempt to the JSON debug log, with the text response body as received; <code>-d</code> and <code>debug</code> alone write none. With <code>-d</code> it also keeps the HTTP library logs in the console. See <a href="../../../guide/troubleshooting/#debug-requests">Debugging HTTP traffic</a>.</td>
<td>The one switch that writes an <code>http_request</code> entry for each HTTP attempt to the JSON debug log, and the request and response bodies as files in a folder beside it; <code>-d</code> and <code>debug</code> alone write neither. With <code>-d</code> it also keeps the HTTP library logs in the console. See <a href="../../../guide/troubleshooting/#debug-requests">Debugging HTTP traffic</a>.</td>
</tr>
<tr>
<td><code>debug_requests_body_limit</code></td>
<td>int</td>
<td><code>0</code></td>
<td>The maximum number of bytes of a response body in an <code>http_request</code> entry. <code>0</code> or unset records the full body. unshackle cuts a longer body and records its full size.</td>
<td>The maximum number of bytes of a body file of <code>debug_requests</code>. <code>0</code> or unset records the full body. unshackle cuts a longer body and records its full size.</td>
</tr>
<tr>
<td><code>set_terminal_bg</code></td>
@@ -2471,14 +2471,13 @@ INFO level during the DRM handshake. Treat <code>debug</code>, <code>debug_keys<
sensitive, and keep <code>redact_paths</code> enabled when sharing logs.</p>
<p><code>debug_keys</code> affects <strong>only</strong> content-encryption keys (the <code>content_key</code>/<code>key</code> fields).
Passwords, tokens, cookies, and session tokens are <strong>always</strong> redacted regardless of this
setting, and KIDs, content key counts, and other metadata are always logged either way.
The <code>http_request</code> entries of <code>debug_requests</code> are the exception.</p>
setting, and KIDs, content key counts, and other metadata are always logged either way.</p>
</div>
<div class="admonition danger">
<p class="admonition-title"><code>debug_requests</code> writes secrets</p>
<p>With <code>debug_requests</code> on, the JSONL file holds tokens, passwords, cookies, content keys and account data
as the servers sent them. unshackle masks only the local folder prefixes in these entries. Keep the file on
your computer. Never attach it to a report.</p>
<p class="admonition-title">The body folder of <code>debug_requests</code> holds secrets</p>
<p>With <code>debug_requests</code> on, unshackle writes the request and response bodies as sent and received to files in a
folder beside the JSONL file (<code>unshackle_debug_*/</code>), with no redaction. They hold passwords, tokens, cookies,
content keys and account data. Keep the folder on your computer. Never attach it to a report.</p>
</div>
<hr />
<h2 id="deprecated-removed-keys">Deprecated &amp; removed keys<a class="headerlink" href="#deprecated-removed-keys" title="Permanent link">&para;</a></h2>