mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Revert fix handling of authentication when encountering redirects (#13215)
These changes to redirect handling appear to have caused #13208. This PR reverts the redirect changes to give us time to investigate.
This commit is contained in:
parent
6bce5d712f
commit
c73819371c
11 changed files with 35 additions and 693 deletions
|
@ -52,7 +52,7 @@ impl GitResolver {
|
|||
pub async fn github_fast_path(
|
||||
&self,
|
||||
url: &GitUrl,
|
||||
client: &ClientWithMiddleware,
|
||||
client: ClientWithMiddleware,
|
||||
) -> Result<Option<GitOid>, GitResolverError> {
|
||||
let reference = RepositoryReference::from(url);
|
||||
|
||||
|
@ -112,7 +112,7 @@ impl GitResolver {
|
|||
pub async fn fetch(
|
||||
&self,
|
||||
url: &GitUrl,
|
||||
client: impl Into<ClientWithMiddleware>,
|
||||
client: ClientWithMiddleware,
|
||||
disable_ssl: bool,
|
||||
offline: bool,
|
||||
cache: PathBuf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue