Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #11286 - ehuss:410-gone, r=Eh2406
Fix 410 gone response handling This changes the sparse-registry support for the 410 "Gone" HTTP response code. This is out of sync with the [load function](https://github.com/rust-lang/cargo/blob/8adf1df292c20bd21f91effc6fbff1c19a514c89/src/cargo/sources/registry/http_remote.rs#L375) mentioned in the comment. I assume it is supposed to be 410 and not 401 since 401 is "Unauthorized", and that doesn't signify that the resource is "not found". r? `@arlosi`
- Loading branch information