mirror of
https://github.com/inspec/inspec
synced 2024-12-11 22:02:47 +00:00
1601b23e8d
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> |
||
---|---|---|
.. | ||
fetchers_test.rb | ||
git_test.rb | ||
local_test.rb | ||
mock_test.rb | ||
source_reader_test.rb | ||
url_test.rb |