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>master
parent
3704a7b897
commit
2c73e654fe
|
@ -145,7 +145,7 @@ Raise an '&http-get-error' condition if downloading fails."
|
|||
(or (not (uri-host uri))
|
||||
(string=? host (uri-host uri)))
|
||||
port)
|
||||
(open-connection uri*
|
||||
(open-connection uri
|
||||
#:verify-certificate?
|
||||
verify-certificate?
|
||||
#:timeout timeout)))))
|
||||
|
|
Reference in New Issue