summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2016-08-15 10:27:39 -0400
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-23 22:20:56 +0000
commit0cb623c3d996638c548c8622c7df96d2cb4d1b05 (patch)
treef23262bba1961c72528712fa85543badb7b4591f /pkgs/development/python-modules/httpserver
parent36e02645eba174dd6a76aaebc62b5095bb7005a9 (diff)
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 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions