inspec/test/unit/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
..
fetchers_test.rb Fail if a remote source content doesn't match lockfile 2016-09-21 10:15:52 +01:00
git_test.rb Add GitFetcher and rework Fetchers+SourceReaders 2016-09-09 14:14:36 +01:00
local_test.rb Add GitFetcher and rework Fetchers+SourceReaders 2016-09-09 14:14:36 +01:00
mock_test.rb Add GitFetcher and rework Fetchers+SourceReaders 2016-09-09 14:14:36 +01:00
source_reader_test.rb restructure unit tests 2016-08-18 13:47:43 +02:00
url_test.rb Don't send HTTP headers that have nil values (#1948) 2017-06-21 19:09:13 -05:00