diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-02-10 00:03:34 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-02-10 00:03:34 +0100 |
commit | 2de227af4bca7204e93f48d52555d576c25f1ca9 (patch) | |
tree | 39869dd4eb0eadb0259fff81df75f6307df463ec /guix/scripts | |
parent | 06d275f67f9ad58ea041f3e31add95fe48631f50 (diff) |
download: Provide a 'User-Agent' field in HTTP requests.
Fixes <http://bugs.gnu.org/16703>.
Reported by Raimon Grau <raimonster@gmail.com>.
* guix/build/download.scm (http-fetch)[headers]: New variable.
Pass it as #:headers or #:extra-headers to 'http-get' and
'http-get*'.
Diffstat (limited to 'guix/scripts')
0 files changed, 0 insertions, 0 deletions