{"version":"2.1.285","anchor":"artifact-file-fetch-headers-timeout-parameter-and-url-build","canonical_anchor":"artifact-file-fetch-headers-timeout-parameter-and-url-build","heading":"File downloads get a separate time limit for the server's first reply","tier":"notice","area":"Elsewhere","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/artifact-file-fetch-headers-timeout-parameter-and-url-build","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### File downloads get a separate time limit for the server's first reply\n\nA file download helper now has a time limit for the server's first reply and returns a failure instead of raising an error when it cannot build the address\n\n**Unclear.** Which downloads in Claude Code use this helper is not stated.\n\n**What**\n\nOne of Claude Code's helpers for downloading files changed in two ways:\n\n- It accepts a time limit for how long to wait for the response headers, the first part of the server's reply that arrives before the file itself. Once the headers arrive, it restarts the timer that detects a stalled download. Before, it used one fixed timeout that was refreshed while data streamed in.\n\n- If it cannot build the address to download from, it returns a failure result instead of raising an error.\n\n**Why**\n\nIt makes file downloads more robust when a server is slow to answer or the download address cannot be built.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}