inspec/lib/fetchers
Adam Leff 1601b23e8d Don't send HTTP headers that have nil values (#1948)
Net::HTTP does not gracefully handle HTTP options/headers
that have nil values. This updates Fetchers::Url to verify
that all headers we attempt to configure have non-nil,
non-empty values.

This originally surfaced via the audit cookbook with the
chef-automate fetcher in use without the data_collector
token being set.

Signed-off-by: Adam Leff <adam@leff.co>
2017-06-21 19:09:13 -05:00
..
git.rb Support vendored profiles in Habitat-packaged profiles 2017-03-29 10:22:20 +02:00
local.rb support FIPS 140-2 compliant digest calls 2017-06-03 02:17:24 +02:00
mock.rb Fail if a remote source content doesn't match lockfile 2016-09-21 10:15:52 +01:00
url.rb Don't send HTTP headers that have nil values (#1948) 2017-06-21 19:09:13 -05:00