From ff36a46178756f7d30035636e8d509baa5b56c65 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 28 Jul 2013 20:51:35 -0700 Subject: [PATCH] Set user agent to Vagrant + version /cc @fgrehm --- lib/vagrant/util/downloader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/downloader.rb b/lib/vagrant/util/downloader.rb index 2db2c56c7..14fa27247 100644 --- a/lib/vagrant/util/downloader.rb +++ b/lib/vagrant/util/downloader.rb @@ -11,7 +11,7 @@ module Vagrant class Downloader # Custom user agent provided to cURL so that requests to URL shorteners # are properly tracked. - USER_AGENT = "Vagrant cURL Downloader" + USER_AGENT = "Vagrant/#{VERSION}" def initialize(source, destination, options=nil) @logger = Log4r::Logger.new("vagrant::util::downloader")