download: Use basic authentication when userinfo is present in URI.
authorDavid Thompson <davet@gnu.org>
Tue, 28 Jun 2016 13:36:34 +0000 (09:36 -0400)
committerDavid Thompson <davet@gnu.org>
Wed, 29 Jun 2016 12:51:41 +0000 (08:51 -0400)
commit242ad41c0129eabfdc6678ae9eebd1c887ece55e
tree02b31b395b32fb98c1b06e7e37848055d0bde1e3
parent8dec2229a2ac97e2bf340e9b7ddefdbf60dbb95d
download: Use basic authentication when userinfo is present in URI.

* guix/download.scm (url-fetch): Include (guix base64) module on the
  build-side.
* guix/build/download.scm (http-fetch): Add "Authorization" header when
  userinfo is present in the URI.
guix/build/download.scm
guix/download.scm