Skip to content
Snippets Groups Projects
Unverified Commit 9572d2b4 authored by Marius Bakke's avatar Marius Bakke
Browse files

http-client: Send redirection messages to stderr.

* guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of default
output.
parent b3884bbf
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ (define* (http-fetch uri #:key port (text? #f) (buffered? #t)
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment