Protect retained metadata from custom JSON encoders

This commit is contained in:
2026-11-06 01:15:55 +00:00
parent d8c98ac575
commit c9663ec63c
4 changed files with 145 additions and 10 deletions

View File

@@ -41,6 +41,10 @@ then:
the complete-request failure remains a request failure;
6. resolves authentication and freezes the URL, body, and optional credential.
Provider values are detached with trusted copying before encoding. Custom JSON
encoding methods and per-value encoding-failure diagnostics operate on those
private copies rather than retained prepared or diagnostic metadata.
Each execution of that prepared request creates a fresh HTTP request, body
reader, and attempt timeout context. It closes the response body and returns
the HTTP status, decoded response or error, reported token values and presence,