{"version":"2.1.311","anchor":"api-request-dump-handles-buffer-bodies","canonical_anchor":"api-request-dump-handles-buffer-bodies","heading":"Prompt dumps now handle request bodies sent as raw bytes","tier":"internal","area":"API Requests","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/api-request-dump-handles-buffer-bodies","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Prompt dumps now handle request bodies sent as raw bytes\n\nThe `dumpPrompts` debugging feature now converts raw-byte request bodies to text before writing them out\n\n**What**\n\nThe `dumpPrompts` debugging feature records the requests Claude Code sends to the API. When a request body arrives as raw bytes rather than text, it is now converted to text before being written to the dump. Before, the body was passed through unchanged.\n\n**Why**\n\nDumps no longer break when a request body is binary data rather than text.\n\n- Area: API Requests\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}