asset-tool: add AssetDetails + DownloadVersionV2 #11

Merged
Quaternions merged 16 commits from staging into master 2025-04-03 22:54:42 +00:00
Showing only changes of commit fb6fb67954 - Show all commits

@ -405,7 +405,7 @@ impl CookieContext{
).await.map_err(GetError::Response)?
.bytes().await.map_err(GetError::Reqwest)?;
match maybe_gzip_decode(&mut std::io::Cursor::new(body)){
match maybe_gzip_decode(std::io::Cursor::new(body)){
Ok(ReaderType::GZip(readable))=>read_readable(readable),
Ok(ReaderType::Raw(readable))=>read_readable(readable),
Err(e)=>Err(e),