Browse Source

http-client: Send redirection messages to stderr.

* guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of default
output.
version-0.15.0
Marius Bakke 4 years ago
parent
commit
9572d2b482
No known key found for this signature in database GPG Key ID: A2A06DF2A33A54FA
  1. 2
      guix/http-client.scm

2
guix/http-client.scm

@ -114,7 +114,7 @@ Raise an '&http-get-error' condition if downloading fails."
308) ; permanent redirection
(let ((uri (resolve-uri-reference (response-location resp) uri)))
(close-port port)
(format #t (G_ "following redirection to `~a'...~%")
(format (current-error-port) (G_ "following redirection to `~a'...~%")
(uri->string uri))
(loop uri)))
(else

Loading…
Cancel
Save