mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add zstd
and deflate
to Accept-Encoding
(#13982)
## Summary We already pull in these dependencies, so it costs us nothing.
This commit is contained in:
parent
f530565323
commit
81aebf921d
2 changed files with 2 additions and 2 deletions
|
@ -558,7 +558,7 @@ impl RegistryClient {
|
|||
let simple_request = self
|
||||
.uncached_client(url)
|
||||
.get(Url::from(url.clone()))
|
||||
.header("Accept-Encoding", "gzip")
|
||||
.header("Accept-Encoding", "gzip, deflate, zstd")
|
||||
.header("Accept", MediaType::accepts())
|
||||
.build()
|
||||
.map_err(|err| ErrorKind::from_reqwest(url.clone(), err))?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue