diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-02-16 13:55:43 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-02-16 13:55:43 +0100 |
commit | 40f0e3b366458a6f1bc09a366a218abf13a1af1e (patch) | |
tree | c31afb8a71f7b40537deb09a155c605765a834be /shell.nix | |
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 'shell.nix')
0 files changed, 0 insertions, 0 deletions