mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
http-client: Fix redirection.
* guix/http-client.scm (http-fetch): Use the right uri variable in case of redirection. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
3704a7b897
commit
2c73e654fe
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ (define uri*
|
||||||
(or (not (uri-host uri))
|
(or (not (uri-host uri))
|
||||||
(string=? host (uri-host uri)))
|
(string=? host (uri-host uri)))
|
||||||
port)
|
port)
|
||||||
(open-connection uri*
|
(open-connection uri
|
||||||
#:verify-certificate?
|
#:verify-certificate?
|
||||||
verify-certificate?
|
verify-certificate?
|
||||||
#:timeout timeout)))))
|
#:timeout timeout)))))
|
||||||
|
|
Loading…
Reference in a new issue