{"version":"2.1.330","anchor":"gzip-upload-race-helper-and-byte-tracking","canonical_anchor":"gzip-upload-race-helper-and-byte-tracking","heading":"Compressed uploads can fall back to a fresh request after a server error","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/gzip-upload-race-helper-and-byte-tracking","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Compressed uploads can fall back to a fresh request after a server error\n\nCompressed uploads now count bytes sent, and a held upload response is raced against a fresh request, falling back on a server error\n\n**What**\n\nClaude Code now counts how many bytes it writes to compressed (gzip) upload streams.\n\nWhen a held upload response is available, Claude Code also sends a fresh request and races the two. It uses the held response if it succeeded. If the held response is a server error (a 5xx status code), it uses the fresh one instead.\n\n**Why**\n\nUploads are more likely to get through when a server error hits the first attempt.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}