From 2c73e654fe1b39f8cec6082a068a435ca2b7cfd1 Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Sun, 10 Apr 2022 15:41:14 +0200 Subject: [PATCH] http-client: Fix redirection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * guix/http-client.scm (http-fetch): Use the right uri variable in case of redirection. Signed-off-by: Ludovic Courtès --- guix/http-client.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/http-client.scm b/guix/http-client.scm index 143ed6de31..a367c41afa 100644 --- a/guix/http-client.scm +++ b/guix/http-client.scm @@ -145,7 +145,7 @@ (define uri* (or (not (uri-host uri)) (string=? host (uri-host uri))) port) - (open-connection uri* + (open-connection uri #:verify-certificate? verify-certificate? #:timeout timeout)))))