Excluding status codes handled automatically by the reqwest crate, HTTP status code are not checked by CPM. Most importantly, this includes 4xx error responses like 404 Not Found. Whatever data the server sends in the response body is still saved to disk.
Excluding status codes handled automatically by the reqwest crate, HTTP status code are not checked by CPM. Most importantly, this includes 4xx error responses like 404 Not Found. Whatever data the server sends in the response body is still saved to disk.
The location where the response status needs to be checked is here: https://github.com/pyocd/cmsis-pack-manager/blob/7afc42405da2da525c756b1b5f23be478575ca9c/rust/cmsis-pack/src/update/download.rs#L156