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:
John Mumm 2025-04-30 10:53:10 +02:00 committed by GitHub
parent 6bce5d712f
commit c73819371c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 35 additions and 693 deletions

View file

@ -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,