summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@chef.io>2015-07-16 09:40:19 +0200
committerdanielsdeleo <dan@chef.io>2015-07-16 09:41:42 +0200
commit1604a78f1389457f5d894586c843372392e8ab66 (patch)
tree0864c1973fe40bb49b15f21ce3e4aa80cc189fd6
parent2c98a7b90507b2479ffda8ccd31bd464b1f5bee0 (diff)
downloadchef-update-url-in-ua.tar.gz
Update the URL in user agent stringupdate-url-in-ua
-rw-r--r--lib/chef/http/http_request.rb2
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