diff options
| author | Tim Smith <tsmith84@gmail.com> | 2021-09-07 14:07:07 -0700 |
|---|---|---|
| committer | Tim Smith <tsmith84@gmail.com> | 2021-09-07 14:07:07 -0700 |
| commit | 5f25faf5c6961665aab6625e64bf09fb2a45d708 (patch) | |
| tree | 8ad7859463b22b84707664a3d9c74dc5b5085c94 /lib/chef_zero/rest_base.rb | |
| parent | 6bb6fcf2365329d3d1760221d36e3b4e17872e9f (diff) | |
| download | chef-zero-https.tar.gz | |
Update http -> https links in tests / commmentshttps
We have to update our test link to get chef-server to pass. I updated
all the comments while I was there.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef_zero/rest_base.rb')
| -rw-r--r-- | lib/chef_zero/rest_base.rb | 2 |
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 } |
