Unclear What switches on the handling of revoked logins is not clear.
What
When Claude Code fetches a file's contents from the server, it now handles two cases it did not handle before:
- 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.
- 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.
The type of file copy Claude Code asks for is now sent exactly as requested. Before, it could only be one of two fixed values.
Why
File 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.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What switches on the handling of revoked logins is not clear.