diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-02-16T12·55+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-02-16T12·55+0100 |
commit | 40f0e3b366458a6f1bc09a366a218abf13a1af1e (patch) | |
tree | c31afb8a71f7b40537deb09a155c605765a834be /scripts/nix-profile.sh.in | |
parent | d1139ff36b5df48ddf76600ad17e59a9d1dcd46a (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 'scripts/nix-profile.sh.in')
0 files changed, 0 insertions, 0 deletions