diff options
author | Dan Peebles <pumpkin@me.com> | 2016-08-15 10:27:39 -0400 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-23 22:20:56 +0000 |
commit | 0cb623c3d996638c548c8622c7df96d2cb4d1b05 (patch) | |
tree | f23262bba1961c72528712fa85543badb7b4591f /lib | |
parent | 36e02645eba174dd6a76aaebc62b5095bb7005a9 (diff) | |
download | nixlib-0cb623c3d996638c548c8622c7df96d2cb4d1b05.tar nixlib-0cb623c3d996638c548c8622c7df96d2cb4d1b05.tar.gz nixlib-0cb623c3d996638c548c8622c7df96d2cb4d1b05.tar.bz2 nixlib-0cb623c3d996638c548c8622c7df96d2cb4d1b05.tar.lz nixlib-0cb623c3d996638c548c8622c7df96d2cb4d1b05.tar.xz nixlib-0cb623c3d996638c548c8622c7df96d2cb4d1b05.tar.zst nixlib-0cb623c3d996638c548c8622c7df96d2cb4d1b05.zip |
fetchurl: add user agent
It would be nice to be able to track Nix requests. It's not trustworthy, but can be helpful for stats and routing in HTTP logs. Since `fetchurl` is used so widely, we should "magically" get a UA on `fetchzip`, `fetchFromGitHub`, and other related fetchers. Since `fetchurl` is only used for fixed-output derivations, this should cause no mass rebuild. User-Agent example: curl/7.57.0 Nixpkgs/18.03
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions