{"version":"2.1.334","anchor":"file-fetch-handles-401-with-token-revocation-and-carries-a-d","canonical_anchor":"file-fetch-handles-401-with-token-revocation-and-carries-a-d","heading":"File downloads now notice a revoked login and server deletion marks","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/file-fetch-handles-401-with-token-revocation-and-carries-a-d","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### File downloads now notice a revoked login and server deletion marks\n\nWhen fetching a file's contents, Claude Code can now detect that your login token was revoked and read whether the file is marked for deletion\n\n**Unclear.** What switches on the handling of revoked logins is not clear.\n\n**What**\n\nWhen Claude Code fetches a file's contents from the server, it now handles two cases it did not handle before:\n\n- A 401 answer, meaning \"not authorised\". When a switch is on, Claude Code reads the reply. If the reply says your login token has been revoked, the failure is marked that way and Claude Code is told about it. Before, any answer other than success was reported as a plain failure.\n\n- A deletion mark. A header is a short label the server attaches to its reply, and Claude Code now reads one that says whether the file is marked for deletion. When that header says false, the fetch reports that the file is not marked for deletion.\n\nThe type of file copy Claude Code asks for is now sent exactly as requested. Before, it could only be one of two fixed values.\n\n**Why**\n\nFile fetches can now respond to a login that has been revoked and to files the server has marked for deletion, instead of treating both as ordinary errors.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}