File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ impl<Policy: HTTPAuthentication> HTTPEnvironmentAsync<Policy> {
160160 uri : S ,
161161 version : T ,
162162 ) -> Result < Option < HTTPProjectAsync < Policy > > , HTTPEnvironmentError > {
163- let this_url = self . project_kpar_url ( & uri, & version) ?;
163+ let project_kpar_url = self . project_kpar_url ( & uri, & version) ?;
164+ let this_url = project_kpar_url. clone ( ) ;
164165 let kpar_project_request = move |client : & ClientWithMiddleware | {
165166 client
166167 . head ( this_url. clone ( ) )
@@ -177,7 +178,7 @@ impl<Policy: HTTPAuthentication> HTTPEnvironmentAsync<Policy> {
177178
178179 Ok ( Some ( HTTPProjectAsync :: HTTPKParProjectDownloaded (
179180 ReqwestKparDownloadedProject :: new_guess_root (
180- & this_url ,
181+ & project_kpar_url ,
181182 self . client . clone ( ) ,
182183 self . auth_policy . clone ( ) ,
183184 )
You can’t perform that action at this time.
0 commit comments