summaryrefslogtreecommitdiff
path: root/lib/chef_zero/rest_base.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-09-07 16:42:47 -0700
committerGitHub <noreply@github.com>2021-09-07 16:42:47 -0700
commitc3f2805d1ff66b338375acd836ed2d2f86484ea3 (patch)
tree8ad7859463b22b84707664a3d9c74dc5b5085c94 /lib/chef_zero/rest_base.rb
parent6bb6fcf2365329d3d1760221d36e3b4e17872e9f (diff)
parent5f25faf5c6961665aab6625e64bf09fb2a45d708 (diff)
downloadchef-zero-c3f2805d1ff66b338375acd836ed2d2f86484ea3.tar.gz
Merge pull request #316 from chef/https
Update http -> https links in tests / commments
Diffstat (limited to 'lib/chef_zero/rest_base.rb')
-rw-r--r--lib/chef_zero/rest_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb
index be50de2..d735c1e 100644
--- a/lib/chef_zero/rest_base.rb
+++ b/lib/chef_zero/rest_base.rb
@@ -68,7 +68,7 @@ module ChefZero
def accepts?(request, category, type)
# If HTTP_ACCEPT is not sent at all, assume it accepts anything
- # This parses as per http://tools.ietf.org/html/rfc7231#section-5.3
+ # This parses as per https://datatracker.ietf.org/doc/html/rfc7231#section-5.3
return true unless request.env["HTTP_ACCEPT"]
accepts = request.env["HTTP_ACCEPT"].split(/,\s*/).map { |x| x.split(";", 2)[0].strip }