Set user agent to Vagrant + version
/cc @fgrehm
This commit is contained in:
parent
9ba77a5ed5
commit
ff36a46178
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user