about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-02-16T12·55+0100
committerEelco Dolstra <edolstra@gmail.com>2017-02-16T12·55+0100
commit40f0e3b366458a6f1bc09a366a218abf13a1af1e (patch)
treec31afb8a71f7b40537deb09a155c605765a834be /config
parentd1139ff36b5df48ddf76600ad17e59a9d1dcd46a (diff)
Include "curl" in the User-Agent header
Some sites (e.g. BitBucket) give a helpful 401 error when trying to
download a private archive if the User-Agent contains "curl", but give
a redirect to a login page otherwise (so for instance
"nix-prefetch-url" will succeed but produce useless output).
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions