Use a properly-formatted custom User-Agent
This commit is contained in:
parent
b18671839f
commit
d88d126ad9
|
@ -14,7 +14,9 @@ module Vagrant
|
||||||
class Downloader
|
class Downloader
|
||||||
# Custom user agent provided to cURL so that requests to URL shorteners
|
# Custom user agent provided to cURL so that requests to URL shorteners
|
||||||
# are properly tracked.
|
# are properly tracked.
|
||||||
USER_AGENT = "Vagrant/#{VERSION}"
|
#
|
||||||
|
# Vagrant/1.7.4 (+https://www.vagrantup.com; ruby2.1.0)
|
||||||
|
USER_AGENT = "Vagrant/#{VERSION} (+https://www.vagrantup.com; #{RUBY_ENGINE}#{RUBY_VERSION})".freeze
|
||||||
|
|
||||||
attr_reader :source
|
attr_reader :source
|
||||||
attr_reader :destination
|
attr_reader :destination
|
||||||
|
|
Loading…
Reference in New Issue