diff options
author | danielsdeleo <dan@chef.io> | 2015-07-16 09:40:19 +0200 |
---|---|---|
committer | danielsdeleo <dan@chef.io> | 2015-07-16 09:41:42 +0200 |
commit | 1604a78f1389457f5d894586c843372392e8ab66 (patch) | |
tree | 0864c1973fe40bb49b15f21ce3e4aa80cc189fd6 | |
parent | 2c98a7b90507b2479ffda8ccd31bd464b1f5bee0 (diff) | |
download | chef-update-url-in-ua.tar.gz |
Update the URL in user agent stringupdate-url-in-ua
-rw-r--r-- | lib/chef/http/http_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http/http_request.rb b/lib/chef/http/http_request.rb index 7582f4458f..1baf5724ae 100644 --- a/lib/chef/http/http_request.rb +++ b/lib/chef/http/http_request.rb @@ -40,7 +40,7 @@ class Chef engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : "ruby" - UA_COMMON = "/#{::Chef::VERSION} (#{engine}-#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}; ohai-#{Ohai::VERSION}; #{RUBY_PLATFORM}; +http://opscode.com)" + UA_COMMON = "/#{::Chef::VERSION} (#{engine}-#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}; ohai-#{Ohai::VERSION}; #{RUBY_PLATFORM}; +https://chef.io)" DEFAULT_UA = "Chef Client" << UA_COMMON USER_AGENT = "User-Agent".freeze |