mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -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))
|
||||
(string=? host (uri-host uri)))
|
||||
port)
|
||||
(open-connection uri*
|
||||
(open-connection uri
|
||||
#:verify-certificate?
|
||||
verify-certificate?
|
||||
#:timeout timeout)))))
|
||||
|
|
Loading…
Reference in a new issue